From 6afee1012195a6981c282d9e62fe8b6160f2b9e4 Mon Sep 17 00:00:00 2001 From: Per Goncalves da Silva Date: Wed, 18 Sep 2019 21:31:08 +0200 Subject: [PATCH] Changes RELEASE_JOB_TYPE to string parameter --- cd/Jenkinsfile_release_job | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cd/Jenkinsfile_release_job b/cd/Jenkinsfile_release_job index b47e2d93de93..7f31f4342760 100644 --- a/cd/Jenkinsfile_release_job +++ b/cd/Jenkinsfile_release_job @@ -38,7 +38,12 @@ pipeline { // Release parameters string(defaultValue: "Generic release job", description: "Optional Job name", name: "RELEASE_JOB_NAME") string(defaultValue: "master", description: "Git Commit to Build", name: "COMMIT_ID") - choice(choices: ["mxnet_lib/static", "mxnet_lib/dynamic"], description: "Pipeline to build", name: "RELEASE_JOB_TYPE") + + # mxnet_lib/static, mxnet_lib/dynamic + # Using string instead of choice parameter to keep the changes to the parameters minimal to avoid + # any disruption caused by different COMMIT_ID values chaning the job parameter configuration on + # Jenkins. + string(defaultValue: "mxnet_lib/static", description: "Pipeline to build", name: "RELEASE_JOB_TYPE") string(defaultValue: "cpu,mkl,cu90,cu90mkl,cu92,cu92mkl,cu100,cu100mkl,cu101,cu101mkl", description: "Comma separated list of variants", name: "MXNET_VARIANTS") booleanParam(defaultValue: false, description: 'Whether this is a release build or not', name: "RELEASE_BUILD") }