From ef0e4e86beb14305a191c76240c7d889e61a234e Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 17 Mar 2015 17:24:38 -0400 Subject: [PATCH] Fix shadow value --- dsl/kernel-lttng-modules.seed.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) } } -- 2.34.1