You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-pipelines.yml
+11-7
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,11 @@ stages:
81
81
value: veos_vtb
82
82
- name: testbed_file
83
83
value: vtestbed.csv
84
-
84
+
- name: BUILD_BRANCH
85
+
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
86
+
value: $(System.PullRequest.TargetBranch)
87
+
${{ else }}:
88
+
value: $(Build.SourceBranchName)
85
89
# For every test job:
86
90
# continueOnError: false means it's a required test job and will block merge if it fails
87
91
# continueOnError: true means it's an optional test job and will not block merge even though it fails(unless a required test job depends on its result)
0 commit comments