[OpenStack-Infra] [third-party] Fail to use Jenkins+JClouds+Zuul+Gearman for CI systems

Lucas Eznarriaga lucas at midokura.com
Mon Jul 14 11:40:47 UTC 2014


Hi,

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).
The only way to get the job registered in Gearman is not specifying a node
label.
However, in this case, the job runs on the master jenkins node and JClouds
creates a slave which does not run the intended job.

Has anybody else run into the same issue? Is there any workaround to make
that work?

Here is a sample of my job configuration:

- job-template:
    name: 'noop-check-communication'
    node: 'third-party'

    builders:
      - shell: |
          #!/bin/bash -xe
          echo "Hello world, this is the {vendor} Testing System"


    wrappers:
      - jclouds:
          single-use: True
          instances:
            - 'cloud-third-party-testing':
                cloud-name: my-cloud
                count: 1
                stop-on-terminate: True


Thanks,
Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20140714/344ca006/attachment.html>


More information about the OpenStack-Infra mailing list