[users at bb.net] Build triggered builds in triggered order
Pierre Tardy
tardyp at gmail.com
Mon Aug 22 08:27:34 UTC 2016
Hi Ryan,
I am not sure at the exact default algorithm for choosing the buildrequest
in eight. I would guess this is submission time, then probably dictionary
order (which in python is unspecified).
There is however a mechanism in buildbot to prioritize buildrequest:
Please have a look at nextBuild parameter of builder configuration
http://docs.buildbot.net/0.8.12/manual/cfg-builders.html#builder-configuration
You can then set a priority property when triggering the build in your
trigger step
Regards
Pierre
Le sam. 20 août 2016 à 14:55, Ryan Schmidt <buildbot at ryandesign.com> a
écrit :
> Hello,
>
> We are running buildbot master and slave 0.8.12 on macOS. We have a
> buildbot factory "watcher" that watches the repository for changes, and a
> factory "builder" that actually builds something. For each repository
> change, "watcher" may trigger zero or one or more "builder" tasks. Buildbot
> runs these triggered tasks in a random order. Perhaps the tasks are added
> to a hash or set object that is not ordered. Is it possible to change this
> data structure to an ordered list so that when "watcher" triggers build 1,
> build 2, build 3, "builder" will attempt to build them in that order?
>
> -Ryan
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160822/b64c3bfa/attachment.html>
More information about the users
mailing list