diff --git a/Jenkinsfile b/Jenkinsfile index bd34b0b..631b9c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -368,7 +368,7 @@ def deployRelease(def categoryList, def yaml){ }else if (category =="${PORTLET_CATEGORY}"){ //def portlets="{\"generic_portlets\": "; // portlets += component_list?.collect{ return [ '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\"} "} + portlets += component_list?.collect{ return " {\"group_id\": \"$it.group_id\", \"name\": \"$it.name\", \"version\": \"$it.version\", \"extension\": \"war\"} "} echo "portlets: $portlets" def jsonContent= "{\"generic_portlets\": "+portlets+"}" echo "json: $jsonContent"