From e200f741ea34061017048b3f640ad5082023a2d3 Mon Sep 17 00:00:00 2001 From: The_Spider Date: Fri, 4 Mar 2022 09:28:07 -0600 Subject: [PATCH] . --- vars/test.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vars/test.groovy b/vars/test.groovy index 03cbcba..d36a8dc 100644 --- a/vars/test.groovy +++ b/vars/test.groovy @@ -6,10 +6,10 @@ def call(body) { def reposConfig = [:] config.reposConfig.each{repo -> - reposConfig = [ - gitBranch: repo.value.gitBranch, - gitRepo: repo.value.gitRepo, - gitCreds: repo.value.gitCreds + reposConfig[repo.key] = [ + gitBranch: repo.value.gitBranch, + gitRepo: repo.value.gitRepo, + gitCreds: repo.value.gitCreds ] }