From 72eb7339d678d4a2d45190a41bafc08c8ccd3c19 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 16 Jun 2025 11:04:33 -0600 Subject: [PATCH] ceph-trigger-build: support new crimson flavors Signed-off-by: Zack Cerza --- ceph-trigger-build/build/Jenkinsfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ceph-trigger-build/build/Jenkinsfile b/ceph-trigger-build/build/Jenkinsfile index 44451d97..d7fb432b 100644 --- a/ceph-trigger-build/build/Jenkinsfile +++ b/ceph-trigger-build/build/Jenkinsfile @@ -51,9 +51,9 @@ def params_from_branch(initialParams) { params << params[0].clone() params[-1]['ARCHS'] = 'x86_64' params[-1]['DISTROS'] = 'centos9' - params[-1]['FLAVOR'] = 'crimson' + params[-1]['FLAVOR'] = 'crimson-debug' } else { - params[0]['FLAVOR'] += ' crimson' + params[0]['FLAVOR'] += ' crimson-debug' } break case ~/.*centos9-only.*/: @@ -62,16 +62,21 @@ def params_from_branch(initialParams) { case ~/.*crimson-only.*/: params[0]['ARCHS'] = 'x86_64' params[0]['DISTROS'] = 'centos9' - params[0]['FLAVOR'] = 'crimson' + if ( !singleSet ) { + params << params[0].clone() + params[1]['FLAVOR'] = 'crimson-release' + } else { + params[0]['FLAVOR'] = 'crimson-debug crimson-release' + } break default: if ( !singleSet ) { params << params[0].clone() params[-1]['ARCHS'] = 'x86_64' params[-1]['DISTROS'] = 'centos9' - params[-1]['FLAVOR'] = 'crimson' + params[-1]['FLAVOR'] = 'crimson-debug' } else { - params[0]['FLAVOR'] += ' crimson' + params[0]['FLAVOR'] += ' crimson-debug' } } if ( singleSet ) { -- 2.39.5