<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 23, 2017 at 11:37 AM Sommer, Erik <<a href="mailto:Erik.Sommer@de.neusoft.com">Erik.Sommer@de.neusoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple" class="gmail_msg">
<p class="gmail_msg"></p>
<div class="m_-6098098345085229683WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span lang="EN-US" class="gmail_msg">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?</span></p></div></div></blockquote><div><br></div><div>Hi,</div><div>NextWorker callback has access to the BuildRequest object, which has itself has a properties attribute, which is derived from the force build properties.</div><div>You can use this in order to select which worker or worker group should do the job.</div><div><br></div><div>Regards</div><div>Pierre</div></div></div>