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 " +