You could use a ScriptTrigger and implement your own logic for a trigger to
send emails.


On Fri, Feb 28, 2014 at 8:27 AM, <[email protected]> wrote:

> Hi there,
>
> (I'm new to this list and not sure this is the right place for this
> question. Apologies if not; if anyone knows a more appropriate list, I'd
> appreciate pointers!)
>
> What I'm trying to do: Set up a project with email notifications that only
> get sent if the build fails several times in a row.
>
> Why? I'm setting up some very simple smoke tests to monitor our production
> setup: visit a url and confirm the presence of some CSS selector. The tests
> themselves are resilient enough, but occasional network issues can cause
> them to intermittently fail in the middle of the night, and I don't want to
> wake our devs when that happens.
>
> If you're familiar with Pingdom's monitoring, that's pretty close to what
> I want, but I'd like some more control over the checks.
>
> The closest I found in Jenkins was the email-ext 
> plugin<https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin>,
> which allows a notification on "2nd Failure", which works great. However,
> the "Fixed" notification triggers every on successful build that follows a
> failed build-as it well should-whereas I want a trigger that only fires on
> successful builds that follow *two* failed builds.
>
> Any pointers on how I can achieve what I want?
>
> Thanks in advance for reading!
> Niko
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Website: http://earl-of-code.com

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to