small fix

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

5
Jenkinsfile vendored
View File

@ -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},"
}