<div dir="ltr">Hi, <div><br></div><div>I am trying to use JClouds Jenkins Plugin + Zuul to deploy slaves on demand to run the third-party jobs. Using Gerrit trigger plugin, JClouds works perfectly, however, it does not work when using Zuul+Gearman because Gearman does not register a job assigned to a node label which does not exist yet (because it will be created by JClouds when the job is triggered). </div>
<div>The only way to get the job registered in Gearman is not specifying a node label.</div><div>However, in this case, the job runs on the master jenkins node and JClouds creates a slave which does not run the intended job.</div>
<div><br></div><div>Has anybody else run into the same issue? Is there any workaround to make that work?</div><div><br></div><div>Here is a sample of my job configuration:</div><div><br></div><div><div>- job-template:</div>
<div> name: 'noop-check-communication'</div><div> node: 'third-party'</div><div><br></div><div> builders:</div><div> - shell: |</div><div> #!/bin/bash -xe</div><div> echo "Hello world, this is the {vendor} Testing System"</div>
<div> </div><div><br></div><div> wrappers:</div><div> - jclouds:</div><div> single-use: True</div><div> instances:</div><div> - 'cloud-third-party-testing':</div><div>
cloud-name: my-cloud</div><div> count: 1</div><div> stop-on-terminate: True</div></div><div><br></div><div><br></div><div>Thanks,</div><div>Lucas</div><div> </div></div>