change distro category to Distributions for testing

This commit is contained in:
Roberto Cirillo 2022-10-12 15:11:56 +02:00
parent 25b582538e
commit b69ed75059
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -226,9 +226,9 @@ pipeline {
jsonConfig.gCube_release.Components.each { group_name, component_list ->
for ( def category : categories){
if("${group_name}" == "$category"){
if (category == 'Distribution'){
if (category == 'Distributions'){
//smartgears = true
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version" }}
def sg= component_list?.collect{ if ("$it.name" == 'smartgears-distribution'){ return "$it.version"; }}
smartgears=(sg !=null ) ? sg[0] : null
println("smartgears version is ${smartgears}")
continue