small fix

This commit is contained in:
Roberto Cirillo 2022-10-12 11:20:36 +02:00
parent 517f5cde05
commit 807ae18099
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?.each {return "$it.version" }
smartgears = component_list?.collect {return "$it.version".first() }
}else{
releaseList += component_list?.collect {return "$it.name,$it.version" }
println("found ${releaseList}");