Fix shadow value
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 17 Mar 2015 21:24:38 +0000 (17:24 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 17 Mar 2015 21:24:38 +0000 (17:24 -0400)
dsl/kernel-lttng-modules.seed.groovy

index c13f48bf5fbd00a3c2cac78aadf48a6d1e2d9b9a..0cc04632b732ab00d78cf7627ddba67dd746b622 100644 (file)
@@ -196,10 +196,10 @@ if ( result.exitValue() == 0 ) {
                 }
             }
             // Corresponding Module job
-            modulesJob.each {
-                println("\t" + it.key + " " + it.value)
+            modulesJob.each { job ->
+                println("\t" + job.key + " " + job.value)
                 if (isJenkinsInstance) {
-                    matrixJob(it.value) {
+                    matrixJob(job.value) {
                         using("modules")
                         multiscm {
                             git {
@@ -217,7 +217,7 @@ if ( result.exitValue() == 0 ) {
                                     name(modulesPrefix)
                                     url(modulesURL)
                                 }
-                                branch(it.key)
+                                branch(job.key)
                                 relativeTargetDir(modulesCheckoutTo)
                             }
                         }
This page took 0.027131 seconds and 4 git commands to generate.