Pierre is right of course. We had the same wish to run special builds of some 
builders on special slaves. Because of that we are currently in the process of 
upgrading to nine. Without that it is not really possible.


Erik Sommer
Software Engineer

[cid:[email protected]]

Neusoft Technology Solutions GmbH
Hugh-Greene-Weg 2-4
22529 Hamburg – Germany

Phone: +49 40 30067-720
Fax: +49 40 30067-959
Email: [email protected]
http://www.neusoft.com

Neusoft Technology Solutions GmbH is part of Neusoft Automotives

Managing Director: Lars Borchert
Register Court Hamburg: HRB No. 112243
Tax-Registration-Number: 45/746/00176
VAT-Registration-Number: DE271733571


We are a family-friendly company and are
awarded with the Hamburg Family 
Seal<http://www.hamburg.de/familiensiegel/nofl/4639016/2015-11-18-basfi-familiensiegel/>.
        [cid:[email protected]] 
<http://www.hamburg.de/familiensiegel/nofl/4639016/2015-11-18-basfi-familiensiegel/>

Confidentiality Notice: This email message, including any attachments,
is for the sole use of intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by return email and destroy all copies of the original
message.

Von: users [mailto:[email protected]] Im Auftrag von Pierre Tardy
Gesendet: Samstag, 7. Oktober 2017 19:14
An: Adi Roiban; [email protected]
Betreff: Re: [[email protected]] Selecting next slave based on build properties

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]<mailto:[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]<mailto:[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