Added prod branch check + test string for test.
This commit is contained in:
parent
d11801b13d
commit
cccfcf3dfb
1 changed files with 4 additions and 2 deletions
|
|
@ -132,7 +132,9 @@ stages:
|
||||||
|
|
||||||
# Test Build/Deploy
|
# Test Build/Deploy
|
||||||
- stage: Test
|
- stage: Test
|
||||||
condition: eq(variables['Build.SourceBranch'], variables['test-branch'] )
|
#condition: eq(variables['Build.SourceBranch'], variables['test-branch'] )
|
||||||
|
#Below is a test for the prod change to make sure this command works. Will remove after successful test.
|
||||||
|
condition: and(succeeded('Dev'), eq(variables['Build.SourceBranch'], variables['test-branch'] ))
|
||||||
variables:
|
variables:
|
||||||
- group: ISS-Test
|
- group: ISS-Test
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -262,7 +264,7 @@ stages:
|
||||||
|
|
||||||
# Prod Build/Deploy
|
# Prod Build/Deploy
|
||||||
- stage: Prod
|
- stage: Prod
|
||||||
condition: succeeded('QA')
|
condition: and(succeeded('QA'), eq(variables['Build.SourceBranch'], variables['prod-branch'] ))
|
||||||
variables:
|
variables:
|
||||||
- group: ISS-Prod
|
- group: ISS-Prod
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue