Skip to content

Commit

Permalink
move SetTestPipeline into its own template (Azure#14145)
Browse files Browse the repository at this point in the history
Co-authored-by: Chidozie Ononiwu <[email protected]>
  • Loading branch information
azure-sdk and chidozieononiwu authored Mar 6, 2021
1 parent 930bfa3 commit cd3fcc0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
parameters:
PackageName: ''
ServiceDirectory: ''
TestPipeline: false

steps:
- ${{if eq(parameters.TestPipeline, 'true')}}:
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: succeeded()
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
filePath: $(Build.SourcesDirectory)/eng/common/scripts/SetTestPipelineVersion.ps1
arguments: '-BuildID $(Build.BuildId) -PackageName ${{ parameters.PackageName }} -ServiceDirectory ${{ parameters.ServiceDirectory }}'

0 comments on commit cd3fcc0

Please sign in to comment.