[Buildbot-devel] Possible to change buildbot's change selection logic?

Charles Lepple clepple at gmail.com
Fri Oct 24 12:47:40 UTC 2014


On Oct 24, 2014, at 8:26 AM, Aran Deltac <bluefeet at gmail.com> wrote:

> What I'd like, for the staging builder, is for it to not build the first change separate from the rest.  I want it to wait for all the changes to be recognized and test them all together.  As it stands right now, whenever anyone pushes a project to the stg branch, the builder is going to run two builds before the developer gets what they wanted and that'll take 30 minutes or more rather than the 15 or so minutes that a single build would take.

It sounds like you need the treeStableTimer setting:

http://docs.buildbot.net/current/manual/cfg-schedulers.html#singlebranchscheduler

To set the timer, look at twistd.log to see how quickly your change source sends changes to Buildbot (I assume it's a "push" setup, rather than a poller). Then, make sure your timer is large enough to handle variations in that time span. This delays the start of the build, but hopefully less than the fifteen minutes it would take to run an extra build.

-- 
Charles Lepple
clepple at gmail



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20141024/da7519ab/attachment.html>


More information about the devel mailing list