jenkinsci / discord-notifier-plugin

A post-build plugin that sends the build status to a Discord channel.
https://plugins.jenkins.io/discord-notifier/
MIT License
50 stars 25 forks source link

Send only when fail button check #39

Closed kocoten1992 closed 2 years ago

kocoten1992 commented 3 years ago

Feature Request

We have a Only send on state change check, but the use case here is quite different.

For example, I have a backup database job run everyday, I don't want to notify system admin when thing going well but do want to remind them everyday when the job fail.

They might miss when backup job fail the first time and subsequent fail will go unnoticed since it the same behavior with successful, hence I propose Send only when fail button.

KocproZ commented 2 years ago

Implemented in #49

kocoten1992 commented 2 years ago

@bootjp, @KocproZ, Thank you!

bootjp commented 2 years ago

Thank you for merging.