fix deploy condition

This commit is contained in:
Roberto Cirillo 2023-06-15 12:15:15 +02:00
parent 9d7fbced7f
commit ce2beba794
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -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");