slack notifications on repeated failure

Change-Id: I248f279fb30865641c64db260cae9e2f95f4e9f7
This commit is contained in:
Tomas Bezdek 2016-03-09 14:49:44 +00:00
parent 8c03c692ec
commit c2f72651d4
3 changed files with 5 additions and 0 deletions

View File

@ -656,6 +656,8 @@ def slack(parser, xml_parent, data):
(default: False)
:arg bool notifiy-back-to-normal: Send notification when job is
succeeding again after being unstable or failed. (default: False)
:arg bool 'notify-repeated-failure': Send notification when job is
still failing after last failure. (default: False)
:arg bool include-test-summary: Include the test summary. (default:
False)
:arg bool include-custom-message: Include a custom message into the
@ -683,6 +685,7 @@ def slack(parser, xml_parent, data):
('notify-unstable', 'notifyUnstable', False),
('notify-failure', 'notifyFailure', False),
('notify-back-to-normal', 'notifyBackToNormal', False),
('notify-repeated-failure', 'notifyRepeatedFailure', False),
('include-test-summary', 'includeTestSummary', False),
('include-custom-message', 'includeCustomMessage', False),
('custom-message', 'customMessage', ''),

View File

@ -9,6 +9,7 @@
<notifyUnstable>false</notifyUnstable>
<notifyFailure>false</notifyFailure>
<notifyBackToNormal>false</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<includeCustomMessage>false</includeCustomMessage>
<customMessage/>

View File

@ -9,6 +9,7 @@
<notifyUnstable>false</notifyUnstable>
<notifyFailure>false</notifyFailure>
<notifyBackToNormal>false</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<includeCustomMessage>true</includeCustomMessage>
<customMessage>Custom foo message</customMessage>