Skip to content

Commit

Permalink
Add condition for making TestPipeline true. (Azure#13175)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored Jan 14, 2021
1 parent a66d9c8 commit ea1f4e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ stages:
parameters:
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
TestPipeline: ${{ parameters.TestPipeline }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
RunUnitTests: ${{ parameters.RunUnitTests }}
WindowsPool: ${{ parameters.WindowsPool }}
LinuxPool: ${{ parameters.LinuxPool }}
Expand All @@ -46,7 +47,8 @@ stages:
DependsOn: Build
ServiceDirectory: ${{ parameters.ServiceDirectory }}
Artifacts: ${{ parameters.Artifacts }}
TestPipeline: ${{ parameters.TestPipeline }}
${{ if eq(parameters.ServiceDirectory, 'template') }}:
TestPipeline: true
ArtifactName: packages
TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }}
TargetDocRepoName: ${{ parameters.TargetDocRepoName }}
1 change: 0 additions & 1 deletion sdk/template/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: template
TestPipeline: true
Artifacts:
- name: azure-template
safeName: azuretemplate

0 comments on commit ea1f4e7

Please sign in to comment.