From: Thanh Ha Date: Thu, 19 Sep 2019 16:17:37 +0000 (-0400) Subject: Set DISTRIBUTION_TYPE to choice X-Git-Tag: v0.44.0~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F61781%2F1;p=releng%2Fglobal-jjb.git Set DISTRIBUTION_TYPE to choice As for as I can tell from the release_job.sh file there are only 3 valid options "None" as the default and choices are container or maven. Set parameter to choices to help the user of the job select the right option. Change-Id: I587d63103011b9f42252a58ce3a79c44b46ceefd Signed-off-by: Thanh Ha --- diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 2dd65704..6a2ea526 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -521,10 +521,13 @@ name: LOG_DIR default: "" description: "Log dir, example: project-maven-stage-master/17/" - - string: + - choice: name: DISTRIBUTION_TYPE - default: "" - description: "Set to maven for build with parametes" + choices: + - None + - container + - maven + description: "Set to maven for build with parameters" - bool: name: USE_RELEASE_FILE default: "{use-release-file}"