Skip to content

Commit 785eb36

Browse files
yogeshmoYogesh Mohanraj
andauthored
Adding parameter for only running the PPE stage (Azure#34152)
Co-authored-by: Yogesh Mohanraj <[email protected]>
1 parent 5338e6c commit 785eb36

File tree

1 file changed

+10
-1
lines changed
  • sdk/communication/azure-communication-email

1 file changed

+10
-1
lines changed

sdk/communication/azure-communication-email/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
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: /sdk/communication/communication-tests-template.yml
511
parameters:
612
PackageName: azure-communication-email
713
SafeName: azurecommunicationemail
8-
Clouds: 'Public,PPE,Int'
14+
${{ if eq(parameters.runOnlyPPE, true) }}:
15+
Clouds: 'PPE'
16+
${{ if eq(parameters.runOnlyPPE, false) }}:
17+
Clouds: 'Public,PPE,Int'
918
CloudConfig:
1019
Public:
1120
SubscriptionConfigurations:

0 commit comments

Comments
 (0)