Skip to content

Commit

Permalink
working on build
Browse files Browse the repository at this point in the history
  • Loading branch information
redrezo committed Sep 8, 2022
1 parent 9bec545 commit 76cac8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
gradle-version: 7.4
- run: gradle notifyJenkins
env:
GITHUB_REF_NAME: ${{ github.event.workflow_run.head_branch }}
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
BUILD_RUN_ID: ${{ github.event.workflow_run.id }}
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
def runId = System.getenv('BUILD_RUN_ID')
def githubToken = System.getenv('GITHUB_TOKEN')
def githubRef = System.getenv('GITHUB_REF')
def githubRefName = System.getenv('GITHUB_REF_NAME')
def headBranch = System.getenv('HEAD_BRANCH')

jobUrl = "https://ci.eclipse.org/efxclipse/job/efxclipse_drift_build"
buildParameters = [
Expand All @@ -433,7 +433,7 @@ task notifyJenkins(type: ExecuteRemoteJenkins) {
GITHUB_ACCESS_TOKEN: githubToken,
GIT_SHA: Versioning.gitSHA,
GITHUB_REF: githubRef,
GITHUB_REF_NAME: githubRefName
GITHUB_REF_NAME: headBranch
]
}

Expand Down

0 comments on commit 76cac8f

Please sign in to comment.