diff options
author | Juan Sebastian Hoyos Ayala <juhoyosa@microsoft.com> | 2022-03-17 20:41:58 +0300 |
---|---|---|
committer | Sean Reeser <v-seanreeser@microsoft.com> | 2022-03-17 20:41:58 +0300 |
commit | 101667696659492d5cfbc662ffb05f54eb4dbc48 (patch) | |
tree | 0247f271e671fc781b042deed5e3d61744af894a /eng/pipelines/mono/templates | |
parent | 81d52e26be06062ec02e70a74782ab30e0994c55 (diff) | |
parent | 8664948dd9abcc70ee500e961969f1e26a6e910e (diff) |
Merged PR 21846: Remove checkout bundlev5.0.16
Diffstat (limited to 'eng/pipelines/mono/templates')
-rw-r--r-- | eng/pipelines/mono/templates/build-job.yml | 2 | ||||
-rw-r--r-- | eng/pipelines/mono/templates/xplat-job.yml | 7 | ||||
-rw-r--r-- | eng/pipelines/mono/templates/xplat-pipeline-job.yml | 2 |
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 }} |