File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 gradle-version : 7.4
2424 - run : gradle notifyJenkins
2525 env :
26- GITHUB_REF_NAME : ${{ github.event.workflow_run.head_branch }}
26+ HEAD_BRANCH : ${{ github.event.workflow_run.head_branch }}
2727 BUILD_RUN_ID : ${{ github.event.workflow_run.id }}
2828 GH_ACCESS_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }}
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
424424 def runId = System . getenv(' BUILD_RUN_ID' )
425425 def githubToken = System . getenv(' GITHUB_TOKEN' )
426426 def githubRef = System . getenv(' GITHUB_REF' )
427- def githubRefName = System . getenv(' GITHUB_REF_NAME ' )
427+ def headBranch = System . getenv(' HEAD_BRANCH ' )
428428
429429 jobUrl = " https://ci.eclipse.org/efxclipse/job/efxclipse_drift_build"
430430 buildParameters = [
@@ -433,7 +433,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
433433 GITHUB_ACCESS_TOKEN : githubToken,
434434 GIT_SHA : Versioning . gitSHA,
435435 GITHUB_REF : githubRef,
436- GITHUB_REF_NAME : githubRefName
436+ GITHUB_REF_NAME : headBranch
437437 ]
438438}
439439
You can’t perform that action at this time.
0 commit comments