From 60a47fb3d3391ce7022cd8571c29fe63cef17ad4 Mon Sep 17 00:00:00 2001 From: Gary Servin Date: Wed, 27 Mar 2024 11:09:09 -0400 Subject: [PATCH] Use build flavour instead of testing --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 37b4aa5..deb7776 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,6 +12,7 @@ def distributions = [] def images = null def organization = null def testing_flavour = null +def build_flavour = null pipeline { agent none @@ -60,6 +61,7 @@ pipeline { def recipes_config = readYaml(file: recipes_yaml) organization = recipes_config['common']['organization'] testing_flavour = recipes_config['common']['testing_flavour'] + build_flavour = recipes_config['common']['build_flavour'] distributions = recipes_config['os'].collect { os, distribution -> distribution }.flatten() @@ -104,7 +106,7 @@ pipeline { "--build-arg APT_REGION=${params.apt_region} " + "--build-arg RELEASE_LABEL=${params.release_label} " + "--build-arg RELEASE_TRACK=${params.release_track} " + - "--build-arg FLAVOUR=${testing_flavour} " + + "--build-arg FLAVOUR=${build_flavour} " + "--build-arg ORGANIZATION=${organization} " + "--build-arg AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID " + "--build-arg AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY " +