small fix

This commit is contained in:
Roberto Cirillo 2022-10-12 11:24:18 +02:00
parent 807ae18099
commit 3813bda08d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

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