We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed7e419 commit ac042b3Copy full SHA for ac042b3
azure-pipelines.yml
@@ -46,7 +46,7 @@ variables:
46
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
47
value: $(System.PullRequest.TargetBranch)
48
${{ else }}:
49
- value: $(Build.SourceBranch)
+ value: $(Build.SourceBranchName)
50
51
stages:
52
- stage: Build
0 commit comments