Link checker result to the proper console URL Point each individual checker to its associated sub-job's console URL. Change-Id: Ifbdb646ac0fec94420a68760c4847d52f97690ba
diff --git a/Jenkinsfile b/Jenkinsfile index eb35f41..53a1cc7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile
@@ -54,11 +54,13 @@ class GerritCheck { String uuid Build build + String consoleUrl GerritCheck(name, build) { this.uuid = "gerritforge:" + name.replaceAll("(bazel/)", "") + Globals.gerritRepositoryNameSha1Suffix this.build = build + this.consoleUrl = "${build.url}console" } def getCheckResultFromBuild() { @@ -81,7 +83,7 @@ } def postCheck(check) { - gerritCheck(checks: [ "${check.uuid}" : "${check.getCheckResultFromBuild()}" ]) + gerritCheck(checks: [ "${check.uuid}" : "${check.getCheckResultFromBuild()}" ], url: "${check.consoleUrl}") } def queryChangedFiles(url, changeNum, sha1) {