Merge branch 'task/286/pipelines' of ssh.dev.azure.com:v3/csu-devsquad/advworks-dataops/hol into task/286/pipelines

This commit is contained in:
Marcel Aldecoa 2021-07-08 11:14:06 -03:00
Родитель 27ec514189 1113d4a0f1
Коммит 3affe3cd3d
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -4,9 +4,12 @@ variables:
${{ if eq(variables['Build.SourceBranchName'], 'main') }}:
environmentName: prod
azureServiceConnection: spn-iac-prod
branch: 'refs/heads/main'
${{ if eq(variables['Build.SourceBranchName'], 'qa') }}:
environmentName: qa
azureServiceConnection: spn-iac-qa
branch: 'refs/heads/qa'
${{ if and(ne(variables['Build.SourceBranchName'], 'main'), ne(variables['Build.SourceBranchName'], 'qa')) }}:
environmentName: dev
azureServiceConnection: spn-iac-dev
branch: 'refs/heads/develop'