generated from gCubeCI/Pipeline-Docker-Template
feature/25131 #6
|
@ -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
|
//Deploy only release components, starting from a servicelist. All the component are passed as: componentName,componentVersion
|
||||||
def deployReleaseJobs(def serviceList, String smartgears, boolean isPortlet){
|
def deployReleaseJobs(def serviceList, String smartgears, boolean isPortlet){
|
||||||
if (serviceList){
|
if (serviceList || isPortlet){
|
||||||
println("Going to deploy release components");
|
println("Going to deploy release components");
|
||||||
for (def record : serviceList) {
|
for (def record : serviceList) {
|
||||||
service=record.split(",");
|
service=record.split(",");
|
||||||
|
@ -402,6 +402,7 @@ def deployReleaseJobs(def serviceList, String smartgears, boolean isPortlet){
|
||||||
if (isPortlet){
|
if (isPortlet){
|
||||||
deployReleaseJob('generic-portlet', '','');
|
deployReleaseJob('generic-portlet', '','');
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
println("Release components not found. Skip this stage");
|
println("Release components not found. Skip this stage");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue