integrity/integrity — Issue #125: More flexible notification options
Author: richmeyers
Created: 2011-10-10 19:36:34+00:00
State: open

Integrity by default notifies after every build. We think this is too much spam, and have a local patch to notify on failure only. It is trivial (+1 line in each notifier we use) but not quite ideal: what I would really like is notification on every failure and a notification on recovery (that is, success after failure).

Thinking about upstreaming these changes I realized that different notifiers may need different notification policies. For example, a notifier that updates a status somewhere might want to be called on every build, whereas a notifier that sends emails in the same project would only be called on a change of status.

Therefore I came up with the following additional options per notifier:

Notify on success:
- Always
- Never
- After failure

Notify on failure:
- Always
- Never
- After success

(The bullet points are radio buttons.)

This should cover all cases I can think of. Thoughts?