diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 73a8287e0877..eea031e5a39a 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -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 }} @@ -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 }} diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index 86e1b4da76d1..3f5b925748a5 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -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