From cccfcf3dfbde535059bad559a658be5ef9156ba5 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Tue, 2 Jun 2026 10:58:20 -0400 Subject: [PATCH] Added prod branch check + test string for test. --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 70c699f3..01024124 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: