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

David Engster deng at randomsample.de
Sun Oct 17 10:01:13 UTC 2010


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.

-David





More information about the devel mailing list