From: Jonathan Rajotte Date: Mon, 27 Apr 2015 23:04:13 +0000 (-0400) Subject: Fix X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6a7fce9069bc8d59719cd28cc2dc9fa4f063c60d;p=lttng-ci.git Fix --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index 09226f8..1f4039b 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -286,7 +286,7 @@ import java.util.concurrent.CancellationException def jobs = hudson.model.Hudson.instance.items def fail = false -def jobStartWith = "${modulesPrefix + separator} %1\$s" +def jobStartWith = "JOBPREFIX" def anotherBuild jobs.each { job -> @@ -329,7 +329,7 @@ if (fail){ modulesBranches.each { branch -> freeStyleJob("dsl-trigger-module-${branch}") { steps { - systemGroovyCommand(snprintf(dslTriggerModule,[branch])) + systemGroovyCommand(dslTriggerModule.replaceAll("JOBPREFIX",modulesPrefix + separator + branch + separator)) } } }