summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2020-01-03 10:21:17 +0000
committerLuca Milanesio <luca.milanesio@gmail.com>2020-01-03 10:43:47 +0000
commit8a27ad1ed16ec432265aeedf001e7fdc9fa920a7 (patch)
treedf02a8cf87da3d40cf8c0c2c47bd0c4b01d7816f /tests
parent497198a2528fd14eebfa5de5f4798c92dd09603a (diff)
downloadpython-jenkins-job-builder-8a27ad1ed16ec432265aeedf001e7fdc9fa920a7.tar.gz
python-jenkins-job-builder-8a27ad1ed16ec432265aeedf001e7fdc9fa920a7.tar.xz
python-jenkins-job-builder-8a27ad1ed16ec432265aeedf001e7fdc9fa920a7.zip
Fix gerrit-code-review plugin name
The GerritSCMSource type for the multibranch pipeline does not belong to the 'gerrit' plugin but rather to the 'gerrit-code-review' plugin. Change-Id: I5edd81a3506847c3e5910ad66d4498a2b8c899e9
Diffstat (limited to 'tests')
-rw-r--r--tests/multibranch/fixtures/scm_gerrit_full.xml2
-rw-r--r--tests/multibranch/fixtures/scm_gerrit_minimal.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/multibranch/fixtures/scm_gerrit_full.xml b/tests/multibranch/fixtures/scm_gerrit_full.xml
index 04c59aec..55cc9c88 100644
--- a/tests/multibranch/fixtures/scm_gerrit_full.xml
+++ b/tests/multibranch/fixtures/scm_gerrit_full.xml
@@ -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>
diff --git a/tests/multibranch/fixtures/scm_gerrit_minimal.xml b/tests/multibranch/fixtures/scm_gerrit_minimal.xml
index 60959552..b29acd09 100644
--- a/tests/multibranch/fixtures/scm_gerrit_minimal.xml
+++ b/tests/multibranch/fixtures/scm_gerrit_minimal.xml
@@ -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/>