Skip to content

Commit f174d23

Browse files
committed
Enabled set test pipeline version for template-v2 projects
1 parent 9388993 commit f174d23

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

eng/pipelines/patch-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,19 @@ extends:
2727
safeName: azuresdktemplatethree
2828
skipPublishDocMs: true
2929
ServiceDirectory: template
30+
- name: azure-sdk-template
31+
groupId: com.azure.v2
32+
safeName: azuresdktemplate
33+
skipPublishDocMs: true
34+
ServiceDirectory: template-v2
35+
- name: azure-sdk-template-two
36+
groupId: com.azure.v2
37+
safeName: azuresdktemplatetwo
38+
skipPublishDocMs: true
39+
ServiceDirectory: template-v2
40+
- name: azure-sdk-template-three
41+
groupId: com.azure.v2
42+
safeName: azuresdktemplatethree
43+
skipPublishDocMs: true
44+
ServiceDirectory: template-v2
3045

eng/pipelines/templates/stages/archetype-sdk-client-patch.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ extends:
6161

6262
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
6363
parameters:
64-
PackageNames: "azure-sdk-template,azure-sdk-template-two,azure-sdk-template-three"
65-
ServiceDirectory: "template"
64+
Artifacts:
65+
- ${{ each artifact in parameters.Artifacts }}:
66+
- ${{ if contains(artifact.name, 'azure-sdk-template') }}:
67+
- ${{ artifact }}
6668
TestPipeline: ${{parameters.TestPipeline}}
6769

6870
- task: UsePythonVersion@0
@@ -215,8 +217,10 @@ extends:
215217

216218
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
217219
parameters:
218-
PackageNames: "azure-sdk-template,azure-sdk-template-two,azure-sdk-template-three"
219-
ServiceDirectory: "template"
220+
Artifacts:
221+
- ${{ each artifact in parameters.Artifacts }}:
222+
- ${{ if contains(artifact.name, 'azure-sdk-template') }}:
223+
- ${{ artifact }}
220224
TestPipeline: ${{parameters.TestPipeline}}
221225

222226
- task: PythonScript@0

0 commit comments

Comments
 (0)