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: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] 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 
<char...@mitre.org<mailto:char...@mitre.org>> 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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 
jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to