generated from gCubeCI/Pipeline-Docker-Template
add print
This commit is contained in:
parent
b69ed75059
commit
1a38859d7d
|
@ -228,7 +228,7 @@ pipeline {
|
|||
if("${group_name}" == "$category"){
|
||||
if (category == 'Distributions'){
|
||||
//smartgears = true
|
||||
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
|
||||
def sg= component_list?.collect{ println("name : $it.name"); println("version $it.version"); if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
|
||||
smartgears=(sg !=null ) ? sg[0] : null
|
||||
println("smartgears version is ${smartgears}")
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue