feature/25131 #6

Merged
roberto.cirillo merged 31 commits from feature/25131 into master 2023-09-07 14:56:01 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 6ada59467f - Show all commits

2
Jenkinsfile vendored
View File

@ -365,7 +365,9 @@ def deployRelease(def categoryList, def yaml){
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }} def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
smartgears=(sg !=null ) ? sg[0] : '' smartgears=(sg !=null ) ? sg[0] : ''
}else if (category =="${PORTLET_CATEGORY}"){ }else if (category =="${PORTLET_CATEGORY}"){
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' ] }
portlets += "}"
writeJSON file: 'portlets.json', json: portlets writeJSON file: 'portlets.json', json: portlets
// def read = readJSON file: 'portlets.json' // def read = readJSON file: 'portlets.json'
// println("Portlets found: "+read.name+" "+read.version+ " "+read.extension) // println("Portlets found: "+read.name+" "+read.version+ " "+read.extension)