diff options
author | Bulat Gaifullin <gaifullinbf@gmail.com> | 2017-02-21 20:26:04 +0300 |
---|---|---|
committer | Bulat Gaifullin <gaifullinbf@gmail.com> | 2017-02-21 20:45:43 +0300 |
commit | 38fc311dcdda6fdf8272bb06dc3961ca037dc8e6 (patch) | |
tree | de672e2205d5271d24f4d1b5ea0d2daf4b0941d8 /tests/triggers | |
parent | 4960f92ad304cc76772582e9472784ada311e06d (diff) | |
download | python-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.xml | 2 | ||||
-rw-r--r-- | tests/triggers/fixtures/gitlab002.xml | 2 | ||||
-rw-r--r-- | tests/triggers/fixtures/gitlab003.xml | 2 | ||||
-rw-r--r-- | tests/triggers/fixtures/gitlab004.xml | 2 | ||||
-rw-r--r-- | tests/triggers/fixtures/gitlab005.xml | 2 |
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> |