From e9df1da14b471adee8b87b5332b6fc4bdda9b13c Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Wed, 12 Oct 2022 14:30:08 +0200 Subject: [PATCH] small fix --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f50d9b9..7cfdaec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -230,7 +230,7 @@ pipeline { //smartgears = true smartgears= component_list?.collect{ return "$it.version" } println("smartgears found is ${smartgears}") - smartgears (smartgears !=null ) ?smartgears[ 0 ] : null + smartgears=(smartgears !=null ) ? "$smartgears[0]" : null println("smartgears version is ${smartgears}") continue }