diff --git a/vars/test.groovy b/vars/test.groovy index fa53731..d36a8dc 100644 --- a/vars/test.groovy +++ b/vars/test.groovy @@ -6,7 +6,7 @@ def call(body) { def reposConfig = [:] config.reposConfig.each{repo -> - reposConfig[repo.key] = { + reposConfig[repo.key] = [ gitBranch: repo.value.gitBranch, gitRepo: repo.value.gitRepo, gitCreds: repo.value.gitCreds