www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin McDonald <ga...@16degrees.com.au>
Subject Re: [IMPORTANT] - A lot of jenkins jobs have been changed!
Date Fri, 11 Nov 2016 01:53:12 GMT

> On 11 Nov. 2016, at 10:10 am, Michael Shuler <michael@pbandjelly.org> wrote:
> 
> On 11/10/2016 04:29 PM, Gavin McDonald wrote:
>>> 2) I would encourage more projects to manage their Jenkins 
>>> configurations in version control, either by using a Jenkinsfile or
>>> the Job DSL plugin, it makes it much simpler to maintain your
>>> configuration in time and easier to collaborate on.
> 
> We're using DSL internally and I am planning on setting up the Cassandra
> jobs to DSL - works really well.
> 
>> Thats a good idea. (In which case you’ll be able to compare the
>> changes made with your svn copy and adjust as needed?)
> 
> Unfortunately not easily. Any config edit or `sed` updates of the
> config.xml will just get overwritten by DSL, unless someone is notified
> to go look in time to see what was changed and get it into the DSL VCS.
> 

Thanks, handy to know.

> (The `sed` of 's/docker/ubunt/' sort of broke things.. There are some
> jobs in the queue now with nowhere to run.)

12 builds affected, thanks for pointing it out, now fixed.

As asn aside, I use a Jenkins plugin to make the edits, not ‘sed’. :)

> 
> I had planned to update the banners on the jobs that they were using DSL
> with a link to the repository, to hopefully let people know that any
> hand edits are only temporary. I'm not really sure of a better way, but
> I'm up for ideas.

I dont have any better ideas currently.

My recent hammer action is a one off, we may check again in 6 months or so 
but I can’t imagine we would need to do this again for a long time.

Gav…

> 
> -- 
> Kind regards,
> Michael
> 


Mime
View raw message