Skip to content

Commit

Permalink
working on build
Browse files Browse the repository at this point in the history
  • Loading branch information
redrezo committed Jul 15, 2020
1 parent ff97000 commit a02aa78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ jobs:
with:
arguments: notifyJenkins
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
JENKINS_ACCESS_TOKEN: ${{secrets.JENKINS_ACCESS_TOKEN }}
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
JENKINS_ACCESS_TOKEN: ${{ secrets.JENKINS_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ task notifyJenkins() {
doLast {
def jenkinsToken = System.getenv("JENKINS_ACCESS_TOKEN")
def runId = System.getenv('GITHUB_RUN_ID')
def githubToken = System.getenv('GITHUB_ACCESS_TOKEN')
def githubToken = System.getenv('GH_ACCESS_TOKEN')

def request = new Request.Builder()
.url("https://ci.eclipse.org/efxclipse/job/efxclipse_drift_build/buildWithParameters?token=$jenkinsToken&GITHUB_ACCESS_TOKEN=$githubToken&GITHUB_RUN_ID=$runId&GIT_SHA=${getGitHash()}")
Expand Down

0 comments on commit a02aa78

Please sign in to comment.