[Buildbot-devel] Send only one mail even when several builds fail

Gav... gavin at 16degrees.com.au
Sun Oct 17 20:49:29 UTC 2010



> -----Original Message-----
> From: David Engster [mailto:deng at randomsample.de]
> Sent: Sunday, 17 October 2010 8:01 PM
> To: buildbot-devel at lists.sourceforge.net
> Subject: Re: [Buildbot-devel] Send only one mail even when several
> builds fail
> 
> Aurelien Bompard writes:
> >> I've set up buildbot running 5 different builders; now, when the
> build
> >> fails due to a commit, it mostly fails on all those builders,
> leading to
> >> five mails being sent. Is there some means to 'merge' those mails
> into
> >> one? Or maybe to stop sending further mails after the first was
> sent,
> >> since this is enough to get the committers attention?
> >
> > This may not be what you're looking for, but you could also merge
> those
> > builders into the buildsteps of a single builder, and have the first
> step
> > flunkOnFailure (thus not running the other steps, and sending a
> single
> > mail).
> 
> The 5 builders run on 3 slaves, so I cannot merge them. Also, I like
> builders to be separate in the waterfall display.
> 
> > However, I may have a similar need : I have a nightly scheduler which
> > triggers the builders, and I'd like to send a single summary mail
> when all
> > the builders have run.
> >
> > It looks like the same problem to me, but if it's not I'll happily
> open a
> > new thread (and in this case, sorry for highjacking...)
> 
> Yes, I'd be happy with such a feature. I could also imagine some kind
> of
> throttle on the number of mails being sent to the same address, like
> "not more than one per build" - further 'build failure' mails could
> just
> get silently dropped, since the recipient will take a look at the web
> page anyway to see the logs.

Add a mode="change" to your mail notifier and you will only get a mail
on the first failure, then no more until the first success etc ...

Gav...


> 
> -David
> 
> 
> -----------------------------------------------------------------------
> -------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that
> run
> across multiple browsers and platforms. Download your free trials
> today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel






More information about the devel mailing list