From: Jonathan Rajotte Date: Thu, 16 Jul 2015 16:19:33 +0000 (-0400) Subject: Fix: move module name generation into good scope X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=23e5a3e083258ae8e351fa16f7747d21df213a8d;p=lttng-ci.git Fix: move module name generation into good scope --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index 5a23065..4f15c4b 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -368,7 +368,6 @@ if (fail){ dslTriggerKernel = dslTriggerKernel.replaceAll("KERNELPREFIX", kernelPrefix) dslTriggerKernel = dslTriggerKernel.replaceAll("MODULEPREFIX", modulesPrefix) - dslTriggerModule = dslTriggerModule.replaceAll("JOBPREFIX",modulesPrefix + separator + branch + separator) if (isJenkinsInstance) { freeStyleJob("dsl-trigger-kernel") { steps { @@ -380,6 +379,7 @@ if (fail){ } modulesBranches.each { branch -> + dslTriggerModule = dslTriggerModule.replaceAll("JOBPREFIX",modulesPrefix + separator + branch + separator) freeStyleJob("dsl-trigger-module-${branch}") { steps { systemGroovyCommand(dslTriggerModule)