Skip to content

Commit

Permalink
Switch testPipeline from variable to parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Oct 22, 2020
1 parent 1031aac commit 004ddb6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
steps:
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: and(succeeded(),eq(variables['TestPipeline'],'true'))
condition: and(succeeded(),eq('${{ parameters.testPipeline }}','true'))
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stages:
- checkout: self
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: and(succeeded(),eq(variables['TestPipeline'],'true'))
condition: and(succeeded(),eq('${{ parameters.testPipeline }}','true'))
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
steps:
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: and(succeeded(),eq(variables['TestPipeline'],'true'))
condition: and(succeeded(),eq('${{ parameters.testPipeline }}','true'))
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
Expand Down
2 changes: 1 addition & 1 deletion sdk/template/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ trigger:
paths:
include:
- sdk/template/
- eng/common/

pr:
branches:
Expand All @@ -31,3 +30,4 @@ extends:
Artifacts:
- name: azure_template
safeName: azuretemplate
testPipeline: true

0 comments on commit 004ddb6

Please sign in to comment.