From 1d48093fe91344af6e921f14dec42fc5d2718be4 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 22 Jul 2019 16:49:20 +0200 Subject: 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 --- jenkins_jobs/modules/project_multibranch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 `. - :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 -- cgit