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}");