Skip to content

Commit 941ecc0

Browse files
yogeshmoYogesh Mohanraj
andauthored
[Communication][Email] Adding parameter for only running the PPE stage (Azure#25329)
I've added a parameter to the email live test pipelines that allows only the PPE stage to be run. This allows us to start a build on this pipeline from our service deployment pipeline. Co-authored-by: Yogesh Mohanraj <[email protected]>
1 parent 50cdeab commit 941ecc0

File tree

1 file changed

+10
-0
lines changed
  • sdk/communication/communication-email

1 file changed

+10
-0
lines changed

sdk/communication/communication-email/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
trigger: none
22

3+
parameters:
4+
- name: runOnlyPPE
5+
displayName: "Run only the PPE stage"
6+
type: boolean
7+
default: false
8+
39
stages:
410
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
511
parameters:
@@ -22,5 +28,9 @@ stages:
2228
- $(sub-config-communication-int-test-resources-common)
2329
- $(sub-config-communication-int-test-resources-js)
2430
Clouds: Public,PPE,Int
31+
${{ if eq(parameters.runOnlyPPE, true) }}:
32+
Clouds: PPE
33+
${{ if eq(parameters.runOnlyPPE, false) }}:
34+
Clouds: Public,PPE,Int
2535
TestResourceDirectories:
2636
- communication/communication-email/

0 commit comments

Comments
 (0)