From 2a948d139fc74e495bf8168072bb623b2c8bb8fe Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 19 Sep 2019 12:17:37 -0400 Subject: [PATCH] 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 --- jjb/lf-macros.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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}" -- 2.16.6