add print

This commit is contained in:
Roberto Cirillo 2022-10-12 15:25:22 +02:00
parent b69ed75059
commit 1a38859d7d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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