summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-18 15:48:10 +0000
committerGerrit Code Review <review@openstack.org>2016-08-18 15:48:10 +0000
commit9a9feb1875cf81ab48b9bb62fd380e2b57c709ff (patch)
tree32ea32cfea26854fcd75b09ff0f0f05afaa02496 /tests
parentcd08b66b61f04ba36a2ccf0a4f77dcef7468423f (diff)
parente51e64a90c90282c9fb72d7620da3e867c6033e7 (diff)
downloadpython-jenkins-job-builder-9a9feb1875cf81ab48b9bb62fd380e2b57c709ff.tar.gz
python-jenkins-job-builder-9a9feb1875cf81ab48b9bb62fd380e2b57c709ff.tar.xz
python-jenkins-job-builder-9a9feb1875cf81ab48b9bb62fd380e2b57c709ff.zip
Merge "Add support for Growl plugin"
Diffstat (limited to 'tests')
-rw-r--r--tests/publishers/fixtures/growl-full.xml9
-rw-r--r--tests/publishers/fixtures/growl-full.yaml4
-rw-r--r--tests/publishers/fixtures/growl-minimal.xml9
-rw-r--r--tests/publishers/fixtures/growl-minimal.yaml3
4 files changed, 25 insertions, 0 deletions
diff --git a/tests/publishers/fixtures/growl-full.xml b/tests/publishers/fixtures/growl-full.xml
new file mode 100644
index 00000000..38eca0ed
--- /dev/null
+++ b/tests/publishers/fixtures/growl-full.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <hudson.plugins.growl.GrowlPublisher plugin="growl">
+ <IP>foo.ip.address</IP>
+ <onlyOnFailureOrRecovery>true</onlyOnFailureOrRecovery>
+ </hudson.plugins.growl.GrowlPublisher>
+ </publishers>
+</project>
diff --git a/tests/publishers/fixtures/growl-full.yaml b/tests/publishers/fixtures/growl-full.yaml
new file mode 100644
index 00000000..72d60d7a
--- /dev/null
+++ b/tests/publishers/fixtures/growl-full.yaml
@@ -0,0 +1,4 @@
+publishers:
+ - growl:
+ ip: foo.ip.address
+ notify-only-on-fail-or-recovery: true
diff --git a/tests/publishers/fixtures/growl-minimal.xml b/tests/publishers/fixtures/growl-minimal.xml
new file mode 100644
index 00000000..7010cbf4
--- /dev/null
+++ b/tests/publishers/fixtures/growl-minimal.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <hudson.plugins.growl.GrowlPublisher plugin="growl">
+ <IP>foo.ip.address</IP>
+ <onlyOnFailureOrRecovery>false</onlyOnFailureOrRecovery>
+ </hudson.plugins.growl.GrowlPublisher>
+ </publishers>
+</project>
diff --git a/tests/publishers/fixtures/growl-minimal.yaml b/tests/publishers/fixtures/growl-minimal.yaml
new file mode 100644
index 00000000..2aafb81c
--- /dev/null
+++ b/tests/publishers/fixtures/growl-minimal.yaml
@@ -0,0 +1,3 @@
+publishers:
+ - growl:
+ ip: foo.ip.address