hotfix deploy release script

This commit is contained in:
Roberto Cirillo 2023-05-17 09:52:21 +02:00
parent 5b236a4f63
commit 6a8a52bbd3
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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" }
}