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 <[email protected]> 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
> [email protected]
> https://lists.buildbot.net/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to