small fix

This commit is contained in:
Roberto Cirillo 2022-10-12 14:30:08 +02:00
parent d8d13be529
commit e9df1da14b
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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
}