On Thu, Mar 23, 2017 at 11:37 AM Sommer, Erik <[email protected]>
wrote:

> We have a large worker/slave setup. We want to assign to some specific
> builds a specific worker. The idea was to put in the information about the
> preferred worker via a Force Build property. Is it possible to access job
> properties in the nextSlave/nextWorker callable? If so how?
>

Hi,
NextWorker callback has access to the BuildRequest object, which has itself
has a properties attribute, which is derived from the force build
properties.
You can use this in order to select which worker or worker group should do
the job.

Regards
Pierre
_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to