From fa12ee4e08b196a6dda6d11aaa61c86ede2dd235 Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Tue, 11 Oct 2022 09:03:00 +0200 Subject: [PATCH] small fix --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2f24be7..c3a6041 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -230,8 +230,9 @@ pipeline { def releaseList = [] jsonConfig.gCube_release.Components.each { group_name, component_list -> if("${group_name}" == "${DEPLOY_CATEGORY}"){ - serviceName=component_list?.each { name -> return "${it.name}"} - serviceVersion=component_list?.each { version -> return "${it.version}" } +// serviceName=component_list?.each { name -> return "${it.name}"} + serviceName="${it.name}" + serviceVersion="${it.version}" println("found ${serviceName} with version: ${serviceVersion}"); releaseList += "${serviceName},${serviceVersion}," }