generated from gCubeCI/Pipeline-Docker-Template
fix collection fields
This commit is contained in:
parent
9c6e18204f
commit
c6ac2ca316
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue