Skip to content

Commit ac042b3

Browse files
[ci] Update azure pipeline branch variable reference. (sonic-net#612)
1 parent ed7e419 commit ac042b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ variables:
4646
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
4747
value: $(System.PullRequest.TargetBranch)
4848
${{ else }}:
49-
value: $(Build.SourceBranch)
49+
value: $(Build.SourceBranchName)
5050

5151
stages:
5252
- stage: Build

0 commit comments

Comments
 (0)