Re: Mass Jenkins job updates

2014-04-01 Thread Matt Legrand
2013 22:45 *To:* jenkins...@googlegroups.com javascript: *Subject:* Mass Jenkins job updates Hi, We have many Jenkins jobs defined that were copied from a “template” Jenkins job. Now, I discovered that I’d like to add a new build step to most (not all) of the jobs. There seems

Re: Mass Jenkins job updates

2013-05-24 Thread JonathanRRogers
On Monday, May 20, 2013 5:44:48 PM UTC-4, Bob Bick wrote: We have many Jenkins jobs defined that were copied from a “template” Jenkins job. Now, I discovered that I’d like to add a new build step to most (not all) of the jobs. I used the Job DSL plugin for a while but that turned out

RE: Mass Jenkins job updates

2013-05-22 Thread Bob Bick
To: jenkinsci-users@googlegroups.com Cc: 'teilo'; Bob Bick Subject: Re: Mass Jenkins job updates its just someAttribute not $someAttribute (although my groovy isn't the best and $someAttribute could also be correct syntax :/ ) You need to make sure that the template creates valid XML that represents

Re: Mass Jenkins job updates

2013-05-22 Thread teilo
:* Tuesday, May 21, 2013 5:39 PM *To:* jenkins...@googlegroups.com javascript: *Cc:* 'teilo'; Bob Bick *Subject:* Re: Mass Jenkins job updates its just someAttribute not $someAttribute (although my groovy isn't the best and $someAttribute could also be correct syntax :/ ) You need

Mass Jenkins job updates

2013-05-21 Thread teilo
I use option 4 - Jenkins enterprise This won't be a drop in solution for you as your jobs need to be templatized before you can update them by just tweaking the template. You could do this with some groovy but that has drawbacks if you mess up your groovy. But Jenkins enterprise has other

RE: Mass Jenkins job updates

2013-05-21 Thread Matthew.Webber
a simple python script. Hope that helps Matthew From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bob Bick Sent: 20 May 2013 22:45 To: jenkinsci-users@googlegroups.com Subject: Mass Jenkins job updates Hi, We have many Jenkins jobs defined that were copied

RE: Mass Jenkins job updates

2013-05-21 Thread Bob Bick
: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of teilo Sent: Tuesday, May 21, 2013 4:03 AM To: jenkinsci-users@googlegroups.com Subject: Mass Jenkins job updates I use option 4 - Jenkins enterprise This won't be a drop in solution for you as your jobs need

Re: Mass Jenkins job updates

2013-05-21 Thread teilo
:] On Behalf Of teilo Sent: Tuesday, May 21, 2013 4:03 AM To: jenkins...@googlegroups.com javascript: Subject: Mass Jenkins job updates I use option 4 - Jenkins enterprise This won't be a drop in solution for you as your jobs need to be templatized before you can update them by just

Re: Mass Jenkins job updates

2013-05-21 Thread teilo
to define a default value that all jobs would get? Bob *From:* teilo [mailto:teilo+...@teilo.net javascript:] *Sent:* Tuesday, May 21, 2013 8:59 AM *To:* jenkins...@googlegroups.com javascript: *Cc:* Bob Bick *Subject:* Re: Mass Jenkins job updates Hi Bob, Just so

RE: Mass Jenkins job updates

2013-05-21 Thread Bob Bick
Bick Subject: Re: Mass Jenkins job updates You can add new parameters, so long as you handle the fact that the parameter may be null in the transformer used by the template. There's a bit about this in my presentation from the Jenkins User event in London, and the online docs from cloudbees

Re: Mass Jenkins job updates

2013-05-21 Thread teilo
...@googlegroups.com javascript: *Cc:* 'teilo'; Bob Bick *Subject:* Re: Mass Jenkins job updates You can add new parameters, so long as you handle the fact that the parameter may be null in the transformer used by the template. There's a bit about this in my presentation from

Mass Jenkins job updates

2013-05-20 Thread Bob Bick
Hi, We have many Jenkins jobs defined that were copied from a template Jenkins job. Now, I discovered that I'd like to add a new build step to most (not all) of the jobs. There seems to be several ways to modify the jobs: 1) Brute force - Edit each job by clicking the Jenkins Job