Merge "Fix gating pipeline"
diff --git a/gating-pipeline.groovy b/gating-pipeline.groovy
index 73ef7d6..95ba94f 100644
--- a/gating-pipeline.groovy
+++ b/gating-pipeline.groovy
@@ -20,7 +20,7 @@
           if (JOBS_NAMESPACE[JOBS_NAMESPACE.length() - 1].equals("s")){
             jobsNamespace = JOBS_NAMESPACE.substring(0, JOBS_NAMESPACE.length() - 1)
           }
-          def testJob = "test-${jobsNamespace}-${gerritProject}"
+          def testJob = String.format("test-%s-%s", jobsNamespace, gerritProject)
           if (_jobExists(testJob)) {
             common.infoMsg("Test job ${testJob} found, running")
             build job: testJob, parameters: [