Need to issue notifications after n number of failed builds

2012-10-02 Thread Will K
I am using Jenkins to automate selenium testing. I need to have a way to send email notifications after 5 failed build attempts. I have installed the groovy post build plugin but, I don't know how to identify failed attempts, record failed attempts, or notify after n number of failed attempts.

Re: Need to issue notifications after n number of failed builds

2012-10-02 Thread Slide
You could do this with email-ext and a pre-send script. If you set it up such that the email is only sent if the last 5 builds were failures (you can get the current build number and then back track and look at the preceding builds). Then you could cancel sending the email if there were less than