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("${group_name}" == "$category"){
|
||||||
if (category == 'Distributions'){
|
if (category == 'Distributions'){
|
||||||
//smartgears = true
|
//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
|
smartgears=(sg !=null ) ? sg[0] : null
|
||||||
println("smartgears version is ${smartgears}")
|
println("smartgears version is ${smartgears}")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue