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 }