generated from gCubeCI/Pipeline-Docker-Template
change distro category to Distributions for testing
This commit is contained in:
parent
25b582538e
commit
b69ed75059
|
@ -226,9 +226,9 @@ pipeline {
|
||||||
jsonConfig.gCube_release.Components.each { group_name, component_list ->
|
jsonConfig.gCube_release.Components.each { group_name, component_list ->
|
||||||
for ( def category : categories){
|
for ( def category : categories){
|
||||||
if("${group_name}" == "$category"){
|
if("${group_name}" == "$category"){
|
||||||
if (category == 'Distribution'){
|
if (category == 'Distributions'){
|
||||||
//smartgears = true
|
//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
|
smartgears=(sg !=null ) ? sg[0] : null
|
||||||
println("smartgears version is ${smartgears}")
|
println("smartgears version is ${smartgears}")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue