summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/modules/project_multibranch.py
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins_jobs/modules/project_multibranch.py')
-rw-r--r--jenkins_jobs/modules/project_multibranch.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/jenkins_jobs/modules/project_multibranch.py b/jenkins_jobs/modules/project_multibranch.py
index 3761ddc1..2a7a3870 100644
--- a/jenkins_jobs/modules/project_multibranch.py
+++ b/jenkins_jobs/modules/project_multibranch.py
@@ -583,7 +583,10 @@ def gerrit_scm(xml_parent, data):
source = XML.SubElement(
xml_parent,
"source",
- {"class": "jenkins.plugins.gerrit.GerritSCMSource", "plugin": "gerrit"},
+ {
+ "class": "jenkins.plugins.gerrit.GerritSCMSource",
+ "plugin": "gerrit-code-review",
+ },
)
source_mapping = [
("", "id", "-".join(["gr", data.get("url", "")])),