small fix

This commit is contained in:
Roberto Cirillo 2022-10-11 09:20:04 +02:00
parent fa12ee4e08
commit 3b169c4596
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -230,9 +230,9 @@ 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 { name -> return "${it.name}"} serviceName=component_list.each{ println("${it.key}")}
serviceName="${it.name}" // serviceName="${it.name}"
serviceVersion="${it.version}" serviceVersion=component_list?.each { name -> return "${it.version}"}
println("found ${serviceName} with version: ${serviceVersion}"); println("found ${serviceName} with version: ${serviceVersion}");
releaseList += "${serviceName},${serviceVersion}," releaseList += "${serviceName},${serviceVersion},"
} }