[Buildbot-devel] How to synchronise parallel builds for correct mail notification
mail654 at gmx.de
mail654 at gmx.de
Thu Jul 25 08:57:44 UTC 2013
Hi,
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.
(Hope my explainations were clear. ;-)
Thank you in advance,
Erik
More information about the devel
mailing list