generated from gCubeCI/Pipeline-Docker-Template
move json file in the right location
This commit is contained in:
parent
b26d4cde46
commit
eacc8c2d97
|
@ -389,8 +389,10 @@ def deployRelease(def categoryList, def yaml){
|
|||
}else if (category =="${PORTLET_CATEGORY}"){
|
||||
portlets += component_list?.collect{ return [ 'name': "$it.name", 'version': "$it.version", 'extension': 'war' ] }
|
||||
writeJSON file: 'portlets.json', json: portlets
|
||||
def read = readJSON file: 'portlets.json'
|
||||
println("Portlets found: "+read.name+" "+read.version+ " "+read.extension)
|
||||
// def read = readJSON file: 'portlets.json'
|
||||
// println("Portlets found: "+read.name+" "+read.version+ " "+read.extension)
|
||||
def output = sh(returnStdout: true, returnStdoutTrim: true, script: "mv portlets.json $ANSIBLE_ROOT_FOLDER")
|
||||
echo "Output: '${output}'"
|
||||
}else{
|
||||
releaseList += component_list?.collect {return "$it.name,$it.version" }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue