There currently is not, but email-ext had an extension point for triggers, so someone could implement a trigger for naginator that only sent on the last attempt. On Aug 5, 2014 2:41 PM, "Harpel, Craig" <[email protected]> wrote:
> Naginator knows the last attempt, because it knows when to give up. > > What I’m asking is whether there is any integration between Naginator and > one of the email plugins that will let me do this without writing scripts. > It sounds like the answer is “no”. > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Slide > *Sent:* Tuesday, August 05, 2014 5:25 PM > *To:* Jenkins User Mailing List > *Subject:* Re: Email only after all retries fail > > > > How do you determine if the job will be the last attempt? If there is > something in the environment or something like that which tells you it is > the last attempt, you could use a pre-send script to cancel sending the > email unless that condition was met. > > > > On Tue, Aug 5, 2014 at 1:44 PM, Harpel, Craig <[email protected]> wrote: > > I’m trying to get Jenkins to send email to recipients only after the > last attempted retry of a job fails. In other words, I don’t want them > getting email for all the failures; just if they **all** fail. Is there > a way to do that with the email-ext plugin and naginator? > > > > Thanks. > > Craig > > > > -- > 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/d/optout. > > > > > > -- > 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/d/optout. > > -- > 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/d/optout. > -- 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/d/optout.
