From 6a7fce9069bc8d59719cd28cc2dc9fa4f063c60d Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 27 Apr 2015 19:04:13 -0400 Subject: [PATCH] Fix --- dsl/kernel-lttng-modules.seed.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) } } } -- 2.34.1