slack notifications on repeated failure
Change-Id: I248f279fb30865641c64db260cae9e2f95f4e9f7
This commit is contained in:
parent
8c03c692ec
commit
c2f72651d4
@ -656,6 +656,8 @@ def slack(parser, xml_parent, data):
|
|||||||
(default: False)
|
(default: False)
|
||||||
:arg bool notifiy-back-to-normal: Send notification when job is
|
:arg bool notifiy-back-to-normal: Send notification when job is
|
||||||
succeeding again after being unstable or failed. (default: False)
|
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:
|
:arg bool include-test-summary: Include the test summary. (default:
|
||||||
False)
|
False)
|
||||||
:arg bool include-custom-message: Include a custom message into the
|
: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-unstable', 'notifyUnstable', False),
|
||||||
('notify-failure', 'notifyFailure', False),
|
('notify-failure', 'notifyFailure', False),
|
||||||
('notify-back-to-normal', 'notifyBackToNormal', False),
|
('notify-back-to-normal', 'notifyBackToNormal', False),
|
||||||
|
('notify-repeated-failure', 'notifyRepeatedFailure', False),
|
||||||
('include-test-summary', 'includeTestSummary', False),
|
('include-test-summary', 'includeTestSummary', False),
|
||||||
('include-custom-message', 'includeCustomMessage', False),
|
('include-custom-message', 'includeCustomMessage', False),
|
||||||
('custom-message', 'customMessage', ''),
|
('custom-message', 'customMessage', ''),
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
<notifyUnstable>false</notifyUnstable>
|
<notifyUnstable>false</notifyUnstable>
|
||||||
<notifyFailure>false</notifyFailure>
|
<notifyFailure>false</notifyFailure>
|
||||||
<notifyBackToNormal>false</notifyBackToNormal>
|
<notifyBackToNormal>false</notifyBackToNormal>
|
||||||
|
<notifyRepeatedFailure>false</notifyRepeatedFailure>
|
||||||
<includeTestSummary>false</includeTestSummary>
|
<includeTestSummary>false</includeTestSummary>
|
||||||
<includeCustomMessage>false</includeCustomMessage>
|
<includeCustomMessage>false</includeCustomMessage>
|
||||||
<customMessage/>
|
<customMessage/>
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
<notifyUnstable>false</notifyUnstable>
|
<notifyUnstable>false</notifyUnstable>
|
||||||
<notifyFailure>false</notifyFailure>
|
<notifyFailure>false</notifyFailure>
|
||||||
<notifyBackToNormal>false</notifyBackToNormal>
|
<notifyBackToNormal>false</notifyBackToNormal>
|
||||||
|
<notifyRepeatedFailure>false</notifyRepeatedFailure>
|
||||||
<includeTestSummary>false</includeTestSummary>
|
<includeTestSummary>false</includeTestSummary>
|
||||||
<includeCustomMessage>true</includeCustomMessage>
|
<includeCustomMessage>true</includeCustomMessage>
|
||||||
<customMessage>Custom foo message</customMessage>
|
<customMessage>Custom foo message</customMessage>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user