generated from gCubeCI/Pipeline-Docker-Template
hotfix deploy release script
This commit is contained in:
parent
5b236a4f63
commit
6a8a52bbd3
|
@ -374,7 +374,7 @@ def deployRelease(def categoryList, def yaml){
|
|||
if (category == "${DISTRIBUTION_CATEGORY}"){
|
||||
//searching smartgears-distribution version in Distribution component of defined inside the yaml file
|
||||
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
|
||||
smartgears=(sg !=null ) ? sg[0] : null
|
||||
smartgears=(sg !=null ) ? sg[0] : ''
|
||||
}else{
|
||||
releaseList += component_list?.collect {return "$it.name,$it.version" }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue