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