diff options
author | Zuul <zuul@review.openstack.org> | 2017-10-27 03:36:33 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-10-27 03:36:33 +0000 |
commit | c1c67fcdf5b0b283e0dbca3fd449466711016cdd (patch) | |
tree | d2ecfe43f5d547b2ec242d5eecce8841d0306072 /tests/publishers | |
parent | b972fc07eced43c546f7f4b2d995b6f0dc25a780 (diff) | |
parent | 7f853603c535d0de537eedcf62d8524de89d3fcf (diff) | |
download | python-jenkins-job-builder-c1c67fcdf5b0b283e0dbca3fd449466711016cdd.tar.gz python-jenkins-job-builder-c1c67fcdf5b0b283e0dbca3fd449466711016cdd.tar.xz python-jenkins-job-builder-c1c67fcdf5b0b283e0dbca3fd449466711016cdd.zip |
Merge "publishers: add args to gitlab publisher"
Diffstat (limited to 'tests/publishers')
-rw-r--r-- | tests/publishers/fixtures/gitlab-notifier-full.xml | 9 | ||||
-rw-r--r-- | tests/publishers/fixtures/gitlab-notifier-full.yaml | 4 | ||||
-rw-r--r-- | tests/publishers/fixtures/gitlab-notifier-minimal.xml | 9 | ||||
-rw-r--r-- | tests/publishers/fixtures/gitlab-notifier-minimal.yaml (renamed from tests/publishers/fixtures/gitlab-notifier.yaml) | 0 | ||||
-rw-r--r-- | tests/publishers/fixtures/gitlab-notifier.xml | 6 |
5 files changed, 22 insertions, 6 deletions
diff --git a/tests/publishers/fixtures/gitlab-notifier-full.xml b/tests/publishers/fixtures/gitlab-notifier-full.xml new file mode 100644 index 00000000..46ef5232 --- /dev/null +++ b/tests/publishers/fixtures/gitlab-notifier-full.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<project> + <publishers> + <com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher plugin="gitlab-plugin"> + <name>foobar-jenkins</name> + <markUnstableAsSuccess>true</markUnstableAsSuccess> + </com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher> + </publishers> +</project> diff --git a/tests/publishers/fixtures/gitlab-notifier-full.yaml b/tests/publishers/fixtures/gitlab-notifier-full.yaml new file mode 100644 index 00000000..dc867db3 --- /dev/null +++ b/tests/publishers/fixtures/gitlab-notifier-full.yaml @@ -0,0 +1,4 @@ +publishers: + - gitlab-notifier: + name: foobar-jenkins + mark-unstable-as-success: true diff --git a/tests/publishers/fixtures/gitlab-notifier-minimal.xml b/tests/publishers/fixtures/gitlab-notifier-minimal.xml new file mode 100644 index 00000000..b2bf7eb7 --- /dev/null +++ b/tests/publishers/fixtures/gitlab-notifier-minimal.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<project> + <publishers> + <com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher plugin="gitlab-plugin"> + <name>jenkins</name> + <markUnstableAsSuccess>false</markUnstableAsSuccess> + </com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher> + </publishers> +</project> diff --git a/tests/publishers/fixtures/gitlab-notifier.yaml b/tests/publishers/fixtures/gitlab-notifier-minimal.yaml index 5966e5ba..5966e5ba 100644 --- a/tests/publishers/fixtures/gitlab-notifier.yaml +++ b/tests/publishers/fixtures/gitlab-notifier-minimal.yaml diff --git a/tests/publishers/fixtures/gitlab-notifier.xml b/tests/publishers/fixtures/gitlab-notifier.xml deleted file mode 100644 index 9685dc9f..00000000 --- a/tests/publishers/fixtures/gitlab-notifier.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<project> - <publishers> - <com.dabsquared.gitlabjenkins.publisher.GitLabCommitStatusPublisher/> - </publishers> -</project> |