Fix
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Apr 2015 23:04:13 +0000 (19:04 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 27 Apr 2015 23:04:13 +0000 (19:04 -0400)
dsl/kernel-lttng-modules.seed.groovy

index 09226f840bc78b7a72be17cb318c4650c85fa66d..1f4039bc7ab73011008551855ea28071030562ad 100644 (file)
@@ -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))
                                }
                        }
                }
This page took 0.023312 seconds and 4 git commands to generate.