From 6a8a52bbd3d088d85f911f27f23e6655daffe821 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Wed, 17 May 2023 09:52:21 +0200 Subject: [PATCH] hotfix deploy release script --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } }