Fix: move module name generation into good scope
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 16 Jul 2015 16:19:33 +0000 (12:19 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 16 Jul 2015 16:19:33 +0000 (12:19 -0400)
dsl/kernel-lttng-modules.seed.groovy

index 5a23065138d7e967cc6f255da2ff2f9f5ef1b3c0..4f15c4b9c36615d38141f0d1120011e72672ed14 100644 (file)
@@ -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)
This page took 0.023013 seconds and 4 git commands to generate.