generated from gCubeCI/Pipeline-Docker-Template
feature/25131 #6
|
@ -368,7 +368,7 @@ def deployRelease(def categoryList, def yaml){
|
|||
//def portlets="{\"generic_portlets\": ";
|
||||
portlets += component_list?.collect{ return [ 'name': "$it.name", 'version': "$it.version", 'extension': 'war' ] }
|
||||
def jsonContent= "{\"generic_portlets\":"+portlets+"}"
|
||||
echo "json: $json"
|
||||
echo "json: $jsonContent"
|
||||
// portlets += "}"
|
||||
writeJSON file: 'portlets.json', json: jsonContent
|
||||
// def read = readJSON file: 'portlets.json'
|
||||
|
|
Loading…
Reference in New Issue