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

Adi Roiban adiroiban at gmail.com
Sat Oct 7 11:05:04 UTC 2017


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


More information about the users mailing list