[Buildbot-devel] How to synchronise parallel builds for correct mail notification
Erik
mail654 at gmx.de
Mon Sep 2 06:59:22 UTC 2013
Hi Dustin,
Dustin J. Mitchell <dustin <at> v.igoro.us> writes:
> What is the problem, exactly?
The problem was described in my original post, here a copy:
I'm using buildbot to build several projects (every project/target
combination is one "builder") on some buildslaves.
I enabled all builders on all buildslaves to have the best efficiency.
I configured mail notification with mode="problem".
Unfortunately some buildslaves are much faster than others, so it can happen
one build (on a fast slave) is
finished, before previous build (on a slow slave) was finished.
If this unfinished build will not compile (and the next build also), the
commiter of source code changes for
both builds were notified about the problem.
But the second commiter did not cause this compile problem.
How can I synchronise the builds, that mail notification for a failed build
only be send if the prev build was finished?
Is this possible with Blocker class or Locks?
Some example code would be great, because I'm not very good in python
programming.
Thank you,
Erik
More information about the devel
mailing list