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 = []
|
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}"){
|
||||||
println("found ${it.name} with version: ${it.version}");
|
serviceName=component_list?.collect { "${it.name}" }
|
||||||
releaseList += "${it.name},${it.version}"
|
serviceVersion=component_list?.collect { "${it.version}" }
|
||||||
|
println("found ${serviceName} with version: ${serviceVersion}");
|
||||||
|
releaseList += "${serviceName},${serviceVersion}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
deployJobs(releaseList);
|
deployJobs(releaseList);
|
||||||
|
|
Loading…
Reference in New Issue