Merge pull request #1249 from Safelite/feature/jzimmerman/INSR-9842
Added prod branch check + test string for test.
This commit is contained in:
commit
20e3974772
1 changed files with 4 additions and 2 deletions
|
|
@ -132,7 +132,9 @@ stages:
|
|||
|
||||
# Test Build/Deploy
|
||||
- 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:
|
||||
- group: ISS-Test
|
||||
jobs:
|
||||
|
|
@ -262,7 +264,7 @@ stages:
|
|||
|
||||
# Prod Build/Deploy
|
||||
- stage: Prod
|
||||
condition: succeeded('QA')
|
||||
condition: and(succeeded('QA'), eq(variables['Build.SourceBranch'], variables['prod-branch'] ))
|
||||
variables:
|
||||
- group: ISS-Prod
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue