Merge "Fix gerrit-code-review plugin name"

This commit is contained in:
Zuul 2020-01-07 18:28:33 +00:00 committed by Gerrit Code Review
commit 99e9b234bc
3 changed files with 6 additions and 3 deletions

View File

@ -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", "")])),

View File

@ -31,7 +31,7 @@
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api">
<data>
<jenkins.branch.BranchSource>
<source class="jenkins.plugins.gerrit.GerritSCMSource" plugin="gerrit">
<source class="jenkins.plugins.gerrit.GerritSCMSource" plugin="gerrit-code-review">
<id>gr-https://review.gerrithub.io/johndoe/foo</id>
<remote>https://review.gerrithub.io/johndoe/foo</remote>
<credentialsId>secret</credentialsId>

View File

@ -31,7 +31,7 @@
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api">
<data>
<jenkins.branch.BranchSource>
<source class="jenkins.plugins.gerrit.GerritSCMSource" plugin="gerrit">
<source class="jenkins.plugins.gerrit.GerritSCMSource" plugin="gerrit-code-review">
<id>gr-https://review.gerrithub.io/johndoe/foo</id>
<remote>https://review.gerrithub.io/johndoe/foo</remote>
<credentialsId/>