Jenkins stop "build back to normal" notification

310 Views Asked by At

I have a question around Jenkins free style job. We're using "Email notification" part of post-build action. So whenever there is a failure, it triggers an email. However it sends another email when the failed job runs to success. I want to stop that. I don't want any email wherever the status of job changes. I know that is possible in pipeline, but is it possible in freestyle job?

1

There are 1 best solutions below

0
Gonzalo Matheu On

It is not possible with "Email notification" from Mailer plugin.

Altough, it exist Email-Ext plugin which allows a broader set of customizations for email notifications.

For instance, adding an "Editable Email Notification" post-action:

editable notification trigger