From f760f090fcb799e886d5724b41f073adc277af26 Mon Sep 17 00:00:00 2001 From: John Oram Date: Fri, 13 Dec 2019 11:33:21 -0800 Subject: Add support for opsgenie notification plugin Change-Id: Id84b3d9282568cf47d5feb930fd618afe969b45f --- tests/publishers/fixtures/opsgenie-full.xml | 15 +++++++++++++++ tests/publishers/fixtures/opsgenie-full.yaml | 10 ++++++++++ tests/publishers/fixtures/opsgenie-minimal.xml | 15 +++++++++++++++ tests/publishers/fixtures/opsgenie-minimal.yaml | 2 ++ 4 files changed, 42 insertions(+) create mode 100755 tests/publishers/fixtures/opsgenie-full.xml create mode 100755 tests/publishers/fixtures/opsgenie-full.yaml create mode 100755 tests/publishers/fixtures/opsgenie-minimal.xml create mode 100755 tests/publishers/fixtures/opsgenie-minimal.yaml (limited to 'tests') diff --git a/tests/publishers/fixtures/opsgenie-full.xml b/tests/publishers/fixtures/opsgenie-full.xml new file mode 100755 index 00000000..4e630e6e --- /dev/null +++ b/tests/publishers/fixtures/opsgenie-full.xml @@ -0,0 +1,15 @@ + + + + + P1 + P2 + true + true + test api key + another-opsgenie-instance.com + a,b,c + team a, team b + + + diff --git a/tests/publishers/fixtures/opsgenie-full.yaml b/tests/publishers/fixtures/opsgenie-full.yaml new file mode 100755 index 00000000..3bc58059 --- /dev/null +++ b/tests/publishers/fixtures/opsgenie-full.yaml @@ -0,0 +1,10 @@ +publishers: +- opsgenie: + enable-sending-alerts: true + notify-build-start: true + api-key: "test api key" + priority: "P1" + build-starts-alerts-priority: "P2" + api-url: "another-opsgenie-instance.com" + tags: "a,b,c" + teams: "team a, team b" diff --git a/tests/publishers/fixtures/opsgenie-minimal.xml b/tests/publishers/fixtures/opsgenie-minimal.xml new file mode 100755 index 00000000..21d7587b --- /dev/null +++ b/tests/publishers/fixtures/opsgenie-minimal.xml @@ -0,0 +1,15 @@ + + + + + P3 + P3 + false + false + + + + + + + diff --git a/tests/publishers/fixtures/opsgenie-minimal.yaml b/tests/publishers/fixtures/opsgenie-minimal.yaml new file mode 100755 index 00000000..d3c1d339 --- /dev/null +++ b/tests/publishers/fixtures/opsgenie-minimal.yaml @@ -0,0 +1,2 @@ +publishers: +- opsgenie -- cgit