<div dir="ltr">Buildbot nine already has a nextWorker callback which take a third argument being the buildrequest.<div><br></div><div><br></div><div><a href="http://docs.buildbot.net/latest/manual/cfg-builders.html?highlight=nextworker">http://docs.buildbot.net/latest/manual/cfg-builders.html?highlight=nextworker</a><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le sam. 7 oct. 2017 à 13:05, Adi Roiban <<a href="mailto:adiroiban@gmail.com">adiroiban@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have a builder which runs on 2 or more slaves.<br>
<br>
Some tests are failing on some slaves and I want to re-run a specific<br>
test on a specific slave.<br>
I am using buildbot try to schedule a new build on demand.<br>
<br>
I want to be able to trigger the next build based on the scheduler and<br>
the properties pushed by the scheduler.<br>
<br>
I managed to get that by patching the<br>
master/buildbot/process/buildrequestdistributor.py:BasicBuildChooser.popNextBuild<br>
to first get a build request and then send it to the nextSlave<br>
callback.<br>
In this way, I can use more information in order to select a slave.<br>
<br>
Is there other way to achieve that?<br>
<br>
Thanks!<br>
--<br>
Adi Roiban<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
</blockquote></div>