From: Jonathan Rajotte Date: Tue, 17 Mar 2015 21:24:38 +0000 (-0400) Subject: Fix shadow value X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=ef0e4e86beb14305a191c76240c7d889e61a234e;p=lttng-ci.git Fix shadow value --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index c13f48b..0cc0463 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -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) } }