summaryrefslogtreecommitdiffstats
path: root/tests/triggers
diff options
context:
space:
mode:
authorBulat Gaifullin <gaifullinbf@gmail.com>2017-02-21 20:26:04 +0300
committerBulat Gaifullin <gaifullinbf@gmail.com>2017-02-21 20:45:43 +0300
commit38fc311dcdda6fdf8272bb06dc3961ca037dc8e6 (patch)
treede672e2205d5271d24f4d1b5ea0d2daf4b0941d8 /tests/triggers
parent4960f92ad304cc76772582e9472784ada311e06d (diff)
downloadpython-jenkins-job-builder-38fc311dcdda6fdf8272bb06dc3961ca037dc8e6.tar.gz
python-jenkins-job-builder-38fc311dcdda6fdf8272bb06dc3961ca037dc8e6.tar.xz
python-jenkins-job-builder-38fc311dcdda6fdf8272bb06dc3961ca037dc8e6.zip
Fixed serialization for 'branch-filter-type' of gitlab
tag 'branchFilterType' was introduced only in GitLab+Plugin ver. 1.2.0 Change-Id: I8cee5b4b77431fa78d28fe359a4fafc5609bde3e Story: 2000875
Diffstat (limited to 'tests/triggers')
-rw-r--r--tests/triggers/fixtures/gitlab001.xml2
-rw-r--r--tests/triggers/fixtures/gitlab002.xml2
-rw-r--r--tests/triggers/fixtures/gitlab003.xml2
-rw-r--r--tests/triggers/fixtures/gitlab004.xml2
-rw-r--r--tests/triggers/fixtures/gitlab005.xml2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/triggers/fixtures/gitlab001.xml b/tests/triggers/fixtures/gitlab001.xml
index 2b199809..1c03682d 100644
--- a/tests/triggers/fixtures/gitlab001.xml
+++ b/tests/triggers/fixtures/gitlab001.xml
@@ -3,7 +3,7 @@
<triggers class="vector">
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
<triggerOpenMergeRequestOnPush>true</triggerOpenMergeRequestOnPush>
- <branchFilterType>All</branchFilterType>
+ <branchFilterName/>
<spec/>
<triggerOnPush>true</triggerOnPush>
<triggerOnMergeRequest>true</triggerOnMergeRequest>
diff --git a/tests/triggers/fixtures/gitlab002.xml b/tests/triggers/fixtures/gitlab002.xml
index e82157ec..48a583d9 100644
--- a/tests/triggers/fixtures/gitlab002.xml
+++ b/tests/triggers/fixtures/gitlab002.xml
@@ -3,7 +3,7 @@
<triggers class="vector">
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
<triggerOpenMergeRequestOnPush>true</triggerOpenMergeRequestOnPush>
- <branchFilterType>All</branchFilterType>
+ <branchFilterName/>
<spec/>
<triggerOnPush>true</triggerOnPush>
<triggerOnMergeRequest>true</triggerOnMergeRequest>
diff --git a/tests/triggers/fixtures/gitlab003.xml b/tests/triggers/fixtures/gitlab003.xml
index 7e85278a..baf204d0 100644
--- a/tests/triggers/fixtures/gitlab003.xml
+++ b/tests/triggers/fixtures/gitlab003.xml
@@ -3,7 +3,7 @@
<triggers class="vector">
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
<triggerOpenMergeRequestOnPush>true</triggerOpenMergeRequestOnPush>
- <branchFilterType>All</branchFilterType>
+ <branchFilterName/>
<spec/>
<triggerOnPush>true</triggerOnPush>
<triggerOnMergeRequest>true</triggerOnMergeRequest>
diff --git a/tests/triggers/fixtures/gitlab004.xml b/tests/triggers/fixtures/gitlab004.xml
index 94d8f4fd..d10d661a 100644
--- a/tests/triggers/fixtures/gitlab004.xml
+++ b/tests/triggers/fixtures/gitlab004.xml
@@ -3,7 +3,7 @@
<triggers class="vector">
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
<triggerOpenMergeRequestOnPush>both</triggerOpenMergeRequestOnPush>
- <branchFilterType>All</branchFilterType>
+ <branchFilterName/>
<spec/>
<triggerOnPush>false</triggerOnPush>
<triggerOnMergeRequest>false</triggerOnMergeRequest>
diff --git a/tests/triggers/fixtures/gitlab005.xml b/tests/triggers/fixtures/gitlab005.xml
index 7870ff70..3e1e168c 100644
--- a/tests/triggers/fixtures/gitlab005.xml
+++ b/tests/triggers/fixtures/gitlab005.xml
@@ -3,7 +3,7 @@
<triggers class="vector">
<com.dabsquared.gitlabjenkins.GitLabPushTrigger>
<triggerOpenMergeRequestOnPush>never</triggerOpenMergeRequestOnPush>
- <branchFilterType>All</branchFilterType>
+ <branchFilterName/>
<spec/>
<triggerOnPush>true</triggerOnPush>
<triggerOnMergeRequest>true</triggerOnMergeRequest>