Closed andresilva closed 3 years ago
This is currently very much bare-bones since I've only implemented the minimum necessary for my use case but I believe this is in a state that is easily extendable (e.g. adding more notification levels). Let me know what you think.
Sorry to bump this but are PRs still being reviewed/merged?
This PR adds basic notification level support. Three notification levels are provided:
DISABLED
,FAILURES
,ALL
. Currently the following notifications will be affected:JobRemoved
- only sent if notification level is set toALL
JobDisabled
- only sent if notification level is set toALL
JobRetriesExhausted
- sent if notification level is set toFAILURES
orALL