Skip to content

Commit a30d7d6

Browse files
committed
fix(ci): use branch name instead of commit hash for E2E GIT_REF parameter
1 parent 702de0f commit a30d7d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/Jenkinsfile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pipeline {
156156
job: 'status-desktop/e2e/prs',
157157
wait: false,
158158
parameters: jenkins.mapToParams([
159-
GIT_REF: env.GIT_COMMIT,
159+
GIT_REF: env.CHANGE_BRANCH ?: env.BRANCH_NAME,
160160
BUILD_SOURCE: env.JOB_NAME,
161161
]),
162162
)

ci/Jenkinsfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pipeline {
162162
job: 'status-desktop/e2e/prs-windows',
163163
wait: false,
164164
parameters: jenkins.mapToParams([
165-
GIT_REF: env.GIT_COMMIT,
165+
GIT_REF: env.CHANGE_BRANCH ?: env.BRANCH_NAME,
166166
BUILD_SOURCE: env.JOB_NAME,
167167
]),
168168
)

0 commit comments

Comments
 (0)