Use gerrit-security-fixes checkers id
The Checks cannot be shared across projects, therefore
use the checks specific to the gerrit-security-fixes for
build validation results.
Change-Id: I0541a13a5bc194b4b77e6cda294dd7c8a7c9e70d
diff --git a/vars/gerritPipeline.groovy b/vars/gerritPipeline.groovy
index fa7dd53..040cd6f 100644
--- a/vars/gerritPipeline.groovy
+++ b/vars/gerritPipeline.groovy
@@ -87,8 +87,7 @@
String consoleUrl
GerritCheck(name, build) {
- this.uuid = "gerritforge:" + name.replaceAll("(bazel/)", "") +
- Globals.gerritRepositoryNameSha1Suffix
+ this.uuid = "gerritforge:${env.GERRIT_PROJECT}-${name}"
this.build = build
this.consoleUrl = "${build.url}console"
}