Page MenuHomeDevCentral

Allow Jenkins jobs to be only notified on failure
ClosedPublic

Authored by dereckson on Aug 23 2016, 00:43.
Tags
None
Referenced Files
F3766805: D628.id1561.diff
Fri, Nov 22, 19:50
F3766801: D628.id1560.diff
Fri, Nov 22, 19:48
F3766637: D628.id1558.diff
Fri, Nov 22, 19:26
F3763823: D628.id1563.diff
Fri, Nov 22, 02:44
F3763650: D628.diff
Fri, Nov 22, 01:21
Unknown Object (File)
Mon, Nov 18, 06:16
Unknown Object (File)
Tue, Nov 12, 07:34
Unknown Object (File)
Sun, Nov 10, 18:56
Subscribers

Details

Summary

In the Jenkins configuration file, any job in notifyOnlyOnFailure
will be ignored if the event hasn't a failure status.

This allows to handle at notifications level what the notifications
plugin doesn't handle yet.

Ref T953.

Test Plan
  • Fire notification for a successful Jenkins task, see it ignored
  • Unit tests

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Allow Jenkins jobs to be only notified on failure.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added inline comments.
app/Notifications/JenkinsNotification.php
109

Test me.

This revision is now accepted and ready to land.Aug 23 2016, 13:15
app/Analyzers/Jenkins/JenkinsPayloadAnalyzer.php
150

.

This revision was automatically updated to reflect the committed changes.