summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2019-07-22 16:49:20 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2019-07-22 16:49:20 +0200
commit1d48093fe91344af6e921f14dec42fc5d2718be4 (patch)
tree5d59441ff0230024ecb0b5cc5fdbd8a1c85db7da
parentc907f7708c2f6cdaaa91fab4506982026de84044 (diff)
downloadpython-jenkins-job-builder-1d48093fe91344af6e921f14dec42fc5d2718be4.tar.gz
python-jenkins-job-builder-1d48093fe91344af6e921f14dec42fc5d2718be4.tar.xz
python-jenkins-job-builder-1d48093fe91344af6e921f14dec42fc5d2718be4.zip
Fix typo in bitbucket_scm discover-branch parameter
The parameter is wrong in the Python docstrings since it's used as discover-branch in code. Change-Id: I9c3108c297e2261e3bfa8dffd29da766ad44716a Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
-rw-r--r--jenkins_jobs/modules/project_multibranch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins_jobs/modules/project_multibranch.py b/jenkins_jobs/modules/project_multibranch.py
index 1228f0dd..cfb27165 100644
--- a/jenkins_jobs/modules/project_multibranch.py
+++ b/jenkins_jobs/modules/project_multibranch.py
@@ -308,7 +308,7 @@ def bitbucket_scm(xml_parent, data):
:arg str head-filter-regex: A regular expression for filtering
discovered source branches. Requires the :jenkins-wiki:`SCM API Plugin
<SCM+API+Plugin>`.
- :arg str discovery-branch: Discovers branches on the repository.
+ :arg str discover-branch: Discovers branches on the repository.
Valid options: ex-pr, only-pr, all.
Value is not specified by default.
:arg str discover-pr-origin: Discovers pull requests where the origin