[users at bb.net] Selecting next slave based on build properties

Pierre Tardy tardyp at gmail.com
Sat Oct 7 17:13:45 UTC 2017


Buildbot nine already has a nextWorker callback which take a third argument
being the buildrequest.


http://docs.buildbot.net/latest/manual/cfg-builders.html?highlight=nextworker


Le sam. 7 oct. 2017 à 13:05, Adi Roiban <adiroiban at gmail.com> a écrit :

> Hi,
>
> I have a builder which runs on 2 or more slaves.
>
> Some tests are failing on some slaves and I want to re-run a specific
> test on a specific slave.
> I am using buildbot try to schedule a new build on demand.
>
> I want to be able to trigger the next build based on the scheduler and
> the properties pushed by the scheduler.
>
> I managed to get that by patching the
>
> master/buildbot/process/buildrequestdistributor.py:BasicBuildChooser.popNextBuild
> to first get a build request and then send it to the nextSlave
> callback.
> In this way, I can use more information in order to select a slave.
>
> Is there other way to achieve that?
>
> Thanks!
> --
> Adi Roiban
> _______________________________________________
> 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/20171007/e4b9a5df/attachment.html>


More information about the users mailing list