generated from gCubeCI/Pipeline-Docker-Template
feature/25131 #6
|
@ -387,7 +387,7 @@ def deployRelease(def categoryList, def yaml){
|
|||
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
|
||||
smartgears=(sg !=null ) ? sg[0] : ''
|
||||
}else if (category =="${PORTLET_CATEGORY}"){
|
||||
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' ] }
|
||||
writeJSON file: 'portlets.json', json: portlets
|
||||
def read = readJSON file: 'portlets.json'
|
||||
println("Portlets found: "+read.name+" "+read.version+ " "+read.extension)
|
||||
|
|
Loading…
Reference in New Issue