small fix

This commit is contained in:
Roberto Cirillo 2022-10-11 09:28:05 +02:00
parent 3b169c4596
commit f55bc0881c
1 changed files with 6 additions and 4 deletions

10
Jenkinsfile vendored
View File

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