small fix

This commit is contained in:
Roberto Cirillo 2022-10-11 08:59:34 +02:00
parent b135184761
commit d9a86cc855
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -230,8 +230,8 @@ pipeline {
def releaseList = [] def releaseList = []
jsonConfig.gCube_release.Components.each { group_name, component_list -> jsonConfig.gCube_release.Components.each { group_name, component_list ->
if("${group_name}" == "${DEPLOY_CATEGORY}"){ if("${group_name}" == "${DEPLOY_CATEGORY}"){
serviceName=component_list?.each { "${it.name}" } serviceName=component_list?.each { name -> return "${it.name}"}
serviceVersion=component_list?.each { "${it.version}" } serviceVersion=component_list?.each { version -> return "${it.version}" }
println("found ${serviceName} with version: ${serviceVersion}"); println("found ${serviceName} with version: ${serviceVersion}");
releaseList += "${serviceName},${serviceVersion}," releaseList += "${serviceName},${serviceVersion},"
} }