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 20, 2020
1 parent 67b40f2 commit 3ced1ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ task notifyJenkins() {
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()}")
.url("https://ci.eclipse.org/efxclipse/job/efxclipse_drift_build/buildWithParameters?token=$jenkinsToken&GITHUB_ACCESS_TOKEN=$githubToken&GITHUB_RUN_ID=$runId&GIT_SHA=${Versioning.gitSHA}")
.build()
def response = client.newCall(request).execute()
println "notify jenkins: ${response.code}"
Expand Down
4 changes: 3 additions & 1 deletion versioning.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ ext {
version: tmpVersion,
qualifier: tmpQualifier,
fullVersion: tmpFullVersion,
bundleVersion: tmpBundleVersion
bundleVersion: tmpBundleVersion,
gitSHA: getGitHash()
]
}


task showVersioning {
println "Versioning: " //${new groovy.json.JsonBuilder(Versioning).toPrettyString()}"
println "\tgitSJA: $Versioning.gitSHA"
println "\treleaseMode: $Versioning.releaseMode"
println "\treleaseTag: $Versioning.releaseTag"
println "\tversion: $Versioning.version"
Expand Down

0 comments on commit 3ced1ed

Please sign in to comment.