generated from gCubeCI/Pipeline-Docker-Template
optimizing method deployRelease
This commit is contained in:
parent
b0c0011a63
commit
526e7e4a0b
|
@ -403,13 +403,14 @@ def deployRelease(def categoryList, def json){
|
|||
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
|
||||
smartgears=(sg !=null ) ? sg[0] : null
|
||||
println("smartgears version is ${smartgears}")
|
||||
return
|
||||
}
|
||||
}else{
|
||||
releaseList += component_list?.collect {return "$it.name,$it.version" }
|
||||
println("found ${releaseList}");
|
||||
}
|
||||
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
deployReleaseJobs(releaseList, smartgears);
|
||||
|
|
Loading…
Reference in New Issue