From 1a38859d7d31c2dcb5b18c4d2c38cc241d8de796 Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Wed, 12 Oct 2022 15:25:22 +0200 Subject: [PATCH] add print --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b40485e..29eb5fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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