Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eng/pipelines/mono/templates')
-rw-r--r--eng/pipelines/mono/templates/build-job.yml2
-rw-r--r--eng/pipelines/mono/templates/xplat-job.yml7
-rw-r--r--eng/pipelines/mono/templates/xplat-pipeline-job.yml2
3 files changed, 9 insertions, 2 deletions
diff --git a/eng/pipelines/mono/templates/build-job.yml b/eng/pipelines/mono/templates/build-job.yml
index 36cc1c6b363..6e6694fd23b 100644
--- a/eng/pipelines/mono/templates/build-job.yml
+++ b/eng/pipelines/mono/templates/build-job.yml
@@ -12,6 +12,7 @@ parameters:
runtimeVariant: ''
isOfficialBuild: false
crossrootfsDir: ''
+ dependOnEvaluatePaths: false
### Product build
jobs:
@@ -27,6 +28,7 @@ jobs:
runtimeVariant: ${{ parameters.runtimeVariant }}
crossrootfsDir: ${{ parameters.crossroofsDir }}
condition: ${{ parameters.condition }}
+ dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
# Compute job name from template parameters
name: ${{ format('mono_{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
diff --git a/eng/pipelines/mono/templates/xplat-job.yml b/eng/pipelines/mono/templates/xplat-job.yml
index b0364b227a0..f9094cd03fa 100644
--- a/eng/pipelines/mono/templates/xplat-job.yml
+++ b/eng/pipelines/mono/templates/xplat-job.yml
@@ -30,7 +30,8 @@ jobs:
container: ${{ parameters.container }}
condition: ${{ parameters.condition }}
dependsOn:
- - checkout
+ - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}:
+ - evaluate_paths
- ${{ if ne(parameters.dependsOn, '') }}:
- ${{ parameters.dependsOn }}
@@ -96,7 +97,9 @@ jobs:
- ${{insert}}: ${{ variable }}
steps:
- - template: /eng/pipelines/common/clone-checkout-bundle-step.yml
+ - checkout: self
+ clean: true
+ fetchDepth: $(checkoutFetchDepth)
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
diff --git a/eng/pipelines/mono/templates/xplat-pipeline-job.yml b/eng/pipelines/mono/templates/xplat-pipeline-job.yml
index 89917a58e0b..31b61c20f93 100644
--- a/eng/pipelines/mono/templates/xplat-pipeline-job.yml
+++ b/eng/pipelines/mono/templates/xplat-pipeline-job.yml
@@ -16,6 +16,7 @@ parameters:
condition: true
continueOnError: false
dependsOn: ''
+ dependOnEvaluatePaths: false
displayName: ''
timeoutInMinutes: ''
enableMicrobuild: ''
@@ -41,6 +42,7 @@ jobs:
condition: and(succeeded(), ${{ parameters.condition }})
continueOnError: ${{ parameters.continueOnError }}
dependsOn: ${{ parameters.dependsOn }}
+ dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }}
displayName: ${{ parameters.displayName }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
enableMicrobuild: ${{ parameters.enableMicrobuild }}