[Novalug] Jenkins

greg pryzby greg@pryzby.org
Fri Apr 24 16:35:25 EDT 2015


I am trying to script creating a Jenkins VM and configure it non-interactively.

I created an instance (from scripts) and copied ~jenkins to
~jenkins-save. I then enabled some plugins and configured them. From
there I want to add the new files created by the plugins and add them
to a new jenkins instance. This would allow me to install jenkins
non-interactively.

It didn't work. It appears there is a database or non-ascii file that
needs to be updated to enable the plugin (besides just copying an XML
file).

Anyone know how to do this from the command line? (I expect that by
posting this I will figure it out).

INSTALL jenkins VM
cp -r /var/lib/jenkins /var/lib/jenkins-save
(via gui enable and configure plugins)
diff /var/lib/jenkins /var/lib/jenkins-save
(save the XML files)

INSTALL NEW jenkins VM
copy XML files
(change IPs if needed)
restart jenkins

I hoped that would have worked. It didn't...

sorry for the ramble.


-- 
greg pryzby                              greg at pryzby dot org
http://www.linkedin.com/in/gpryzby

TWTR: gpryzby
WEB:  http://www.MakeRoomForArt.com/
BLOG: http://lonetrikerphotography.tumblr.com/ (photos)



More information about the Novalug mailing list