diff --git a/Jenkinsfile b/Jenkinsfile index d7826ce..eaf235a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -384,7 +384,7 @@ def deployRelease(def categoryList, def yaml){ //Deploy only release components, starting from a servicelist. All the component are passed as: componentName,componentVersion def deployReleaseJobs(def serviceList, String smartgears, boolean isPortlet){ - if (serviceList){ + if (serviceList || isPortlet){ println("Going to deploy release components"); for (def record : serviceList) { service=record.split(","); @@ -402,6 +402,7 @@ def deployReleaseJobs(def serviceList, String smartgears, boolean isPortlet){ if (isPortlet){ deployReleaseJob('generic-portlet', '',''); } + }else{ println("Release components not found. Skip this stage");