From 3813bda08d87c1493454ddddd276b15798ee0fda Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Wed, 12 Oct 2022 11:24:18 +0200 Subject: [PATCH] small fix --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e07a2ed..88ac8a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -226,7 +226,7 @@ pipeline { for ( def category : categories){ if("${group_name}" == "$category"){ if (category == 'Distribution'){ - smartgears = component_list?.collect {return "$it.version".first() } + smartgears = component_list?.collect {return "$it.version"[ 0 ] } }else{ releaseList += component_list?.collect {return "$it.name,$it.version" } println("found ${releaseList}");