diff --git a/vars/test.groovy b/vars/test.groovy index 9708d70..00f307d 100644 --- a/vars/test.groovy +++ b/vars/test.groovy @@ -4,7 +4,7 @@ def call(body) { body.delegate = config body () - def reposConfig = [:] +/* def reposConfig = [:] config.reposConfig.each{repo -> reposConfig[repo.key] = [ gitBranch: repo.value.gitBranch, @@ -13,7 +13,9 @@ def call(body) { testValue: repo.value?.testValue ?: "default" ] } +*/ + def reposConfig = config.reposConfig ?: [:] reposConfig.each{repo -> echo "Map Element ${repo.key}: ${repo.value.gitRepo} = ${repo.value.testValue}" }