summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/modules
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-04-09 02:09:06 +0000
committerGerrit Code Review <review@openstack.org>2019-04-09 02:09:06 +0000
commitec3080b5bc1681ef2232796d3a009d11e2659b3f (patch)
tree7d9c1aa3df0b094e7b3e3ceb1b84f707f7160cdc /jenkins_jobs/modules
parent0cf0452d5d72633a701d47034ad2338f34533037 (diff)
parentfc7864ab7f91e61c38d1320c03a0cac512faa026 (diff)
downloadpython-jenkins-job-builder-ec3080b5bc1681ef2232796d3a009d11e2659b3f.tar.gz
python-jenkins-job-builder-ec3080b5bc1681ef2232796d3a009d11e2659b3f.tar.xz
python-jenkins-job-builder-ec3080b5bc1681ef2232796d3a009d11e2659b3f.zip
Merge "adding variable bindings option to extended parameters"
Diffstat (limited to 'jenkins_jobs/modules')
-rw-r--r--jenkins_jobs/modules/parameters.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins_jobs/modules/parameters.py b/jenkins_jobs/modules/parameters.py
index 3cd8ff71..acfe0164 100644
--- a/jenkins_jobs/modules/parameters.py
+++ b/jenkins_jobs/modules/parameters.py
@@ -430,6 +430,8 @@ def extended_choice_param(registry, xml_parent, data):
:arg str groovy-script: the groovy script contents (optional, default ',')
:arg str groovy-script-file: location of groovy script file to generate
parameters (optional, default '')
+ :arg str bindings: variable bindings for the groovy script
+ (optional, default '')
:arg str classpath: the classpath for the groovy script
(optional, default ',')
:arg str default-groovy-script: the default groovy
@@ -483,6 +485,7 @@ def extended_choice_param(registry, xml_parent, data):
('default-property-key', 'defaultPropertyKey', ''),
('description-property-file', 'descriptionPropertyFile', ''),
('description-property-key', 'descriptionPropertyKey', ''),
+ ('bindings', 'bindings', ''),
('groovy-script', 'groovyScript', ''),
('groovy-script-file', 'groovyScriptFile', ''),
('classpath', 'groovyClasspath', ''),