diff --git a/Jenkinsfile b/Jenkinsfile index d1bca2e..6b55368 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } }