generated from gCubeCI/Pipeline-Docker-Template
fix variable name
This commit is contained in:
parent
14dcf64e6d
commit
f9c0476638
|
@ -368,7 +368,7 @@ def deployRelease(def categoryList, def yaml){
|
||||||
//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' ] }
|
||||||
def jsonContent= "{\"generic_portlets\":"+portlets+"}"
|
def jsonContent= "{\"generic_portlets\":"+portlets+"}"
|
||||||
echo "json: $json"
|
echo "json: $jsonContent"
|
||||||
// portlets += "}"
|
// portlets += "}"
|
||||||
writeJSON file: 'portlets.json', json: jsonContent
|
writeJSON file: 'portlets.json', json: jsonContent
|
||||||
// def read = readJSON file: 'portlets.json'
|
// def read = readJSON file: 'portlets.json'
|
||||||
|
|
Loading…
Reference in New Issue