fix collection fields

This commit is contained in:
Roberto Cirillo 2022-10-10 17:30:28 +02:00
parent 9c6e18204f
commit c6ac2ca316
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

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