Re: [Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
Update, the jobs have changed

https://build.gluster.org/view/RPMs/job/rpm-el6/
https://build.gluster.org/view/RPMs/job/rpm-fedora/

If all goes well, tomorrow morning, I'll disable the old rpm jobs.

On Thu, Jun 23, 2016 at 7:07 PM, Nigel Babu  wrote:

> 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
>



-- 
nigelb
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra

Re: [Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
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
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra


[Gluster-infra] Moving to Jenkins Job Builder

2016-06-23 Thread Nigel Babu
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
___
Gluster-infra mailing list
Gluster-infra@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-infra