[Gluster-infra] Moving to Jenkins Job Builder

Nigel Babu nigelb at redhat.com
Thu Jun 23 13:37:24 UTC 2016


On Thu, Jun 23, 2016 at 01:49:27PM +0530, Nigel Babu wrote:
> Hello folks,
>
> In the last week or so, I've been working on converting our jobs from xml to
> yaml for Jenkins Job Builder. It lets us define our Jenkins job in yaml files
> (more readable than XML). It then pushes these jobs to Jenkins. My plan is
> convert all the jobs into this style eventually.
>
> I've created the first test job[1] and it works! The code for this lives in
> a pull request[2] for now. Please feel free to review it. If you have
> questions or concerns about this process, please free to reply to this thread.
> If you want to help with this conversion, also reply to this thread :)
>
> [1]: https://build.gluster.org/job/glusterfs-rpms-test/
> [2]: https://github.com/gluster/glusterfs-patch-acceptance-tests/pull/22/files
>
> --
> nigelb

A short update: Jenkins Job Builder lets us use templates for jobs that are
alike, so less code repetition. I've updated the pull request to show a yaml
file that will create two jobs - one for Fedora and one for Centos 6. It is
trivial to add a new one in this scenario.

--
nigelb


More information about the Gluster-infra mailing list