From 28a76cd28b959bd716ef66edb2c0d30cb3a193af Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 8 Sep 2021 13:00:34 -0700 Subject: [PATCH] Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version (#1906) Co-authored-by: Chidozie Ononiwu --- .../pipelines/templates/steps/set-test-pipeline-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml b/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml index 9f21918de9..091ef62766 100644 --- a/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml +++ b/eng/common/pipelines/templates/steps/set-test-pipeline-version.yml @@ -4,10 +4,10 @@ parameters: TestPipeline: false steps: -- ${{if eq(parameters.TestPipeline, 'true')}}: +- ${{ if eq(parameters.TestPipeline, 'true') }}: - task: PowerShell@2 displayName: Prep template pipeline for release - condition: succeeded() + condition: and(succeeded(), ne(variables['Skip.SetTestPipelineVersion'], 'true')) inputs: pwsh: true workingDirectory: $(Build.SourcesDirectory)