1

I am running few scheduled jobs periodically every 5 minutes. How to send status change emails only and no duplicate emails. Please advise. When job is moved from

Failure to Success -- Send an email --> "Fixed" trigger working well in this scenario.
Success to Failure - Send an email --> don't see any appropriate trigger. 

I am looking at Editable Notifications plug-in. enter image description here

redsam
  • 145
  • 1
  • 18

1 Answers1

1

In Jenkins, the Email Ext plugin has a trigger called "First Failure" which does exactly what you want.

You appear to be using the old email-ext which doesn't have that option. So you can't restrict emails the way you want using that plugin.

Jeanne Boyarsky
  • 12,156
  • 2
  • 49
  • 59
  • Thank you. Unfortunately our company is using Hudson. So I need to check compatibility of new plugin with Hudson and overwrite the old version. I need to explore the way to install Jenkins plug-ins manually. – redsam Jan 16 '17 at 21:17
  • There's a good chance it isn't compatible (and that there isn't a ported plugin.) I'm mentioning the Jenkins one because you are likely to find that when you search. – Jeanne Boyarsky Jan 16 '17 at 21:51