small fix

This commit is contained in:
Roberto Cirillo 2022-10-12 14:31:17 +02:00
parent e9df1da14b
commit 6d756fa30b
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
}