From 23e5a3e083258ae8e351fa16f7747d21df213a8d Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 16 Jul 2015 12:19:33 -0400 Subject: [PATCH] Fix: move module name generation into good scope --- dsl/kernel-lttng-modules.seed.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1