From b69ed75059df8c23f513e7ae2885bec9177c2b33 Mon Sep 17 00:00:00 2001 From: "roberto.cirillo" Date: Wed, 12 Oct 2022 15:11:56 +0200 Subject: [PATCH] change distro category to Distributions for testing --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9bd338e..b40485e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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