Skip to content

Commit a92294c

Browse files
committed
Fix template
1 parent 2a09074 commit a92294c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pipelines/1p-e2e.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ variables:
22
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
33
LinuxContainerImage: "mcr.microsoft.com/onebranch/cbl-mariner/build:2.0" # Docker image which is used to build the project https://aka.ms/obpipelines/containers
44
DEBIAN_FRONTEND: noninteractive
5-
sourceBranch: variables['Build.SourceBranch']
6-
prSourceBranch: variables['System.PullRequest.SourceBranch']
5+
sourceBranch: ${{ variables['Build.SourceBranch'] }}
6+
prSourceBranch: ${{ variables['System.PullRequest.SourceBranch'] }}
77
${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/') }}:
88
sourceBranchName: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }}
99
${{ if startsWith(variables['System.PullRequest.SourceBranch'], 'refs/pull/') }}:

0 commit comments

Comments
 (0)