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 <build...@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@buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@buildbot.net
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to