generated from gCubeCI/Pipeline-Docker-Template
remove default from group_id field
This commit is contained in:
parent
dd691f73c9
commit
a52265bcdd
|
@ -368,7 +368,7 @@ def deployRelease(def categoryList, def yaml){
|
||||||
}else if (category =="${PORTLET_CATEGORY}"){
|
}else if (category =="${PORTLET_CATEGORY}"){
|
||||||
//def portlets="{\"generic_portlets\": ";
|
//def portlets="{\"generic_portlets\": ";
|
||||||
// portlets += component_list?.collect{ return [ 'name': "$it.name", 'version': "$it.version", 'extension': 'war' ] }
|
// portlets += component_list?.collect{ return [ 'name': "$it.name", 'version': "$it.version", 'extension': 'war' ] }
|
||||||
portlets += component_list?.collect{ return " {\"group_id\": \"${it.group} ?: \"org.gcube.portlets.user\"\", \"name\": \"$it.name\", \"version\": \"$it.version\", \"extension\": \"war\"} "}
|
portlets += component_list?.collect{ return " {\"group_id\": \"$it.group\", \"name\": \"$it.name\", \"version\": \"$it.version\", \"extension\": \"war\"} "}
|
||||||
echo "portlets: $portlets"
|
echo "portlets: $portlets"
|
||||||
def jsonContent= "{\"generic_portlets\": "+portlets+"}"
|
def jsonContent= "{\"generic_portlets\": "+portlets+"}"
|
||||||
echo "json: $jsonContent"
|
echo "json: $jsonContent"
|
||||||
|
|
Loading…
Reference in New Issue