Last Updated: May 20, 2016
·
924
· goncalopereira

versioning Jenkins config

Get your /var/lib/jenkins into a REPOSITORY
Don't forget to ignore the contents of each job's workspace directory

cd ~
git clone REPOSITORY
sudo rm -rf /var/lib/jenkins
sudo mv REPOSITORY /var/lib/jenkins
sudo chown -R jenkins /var/lib/jenkins/
sudo /etc/init.d/jenkins restart

1 Response
Add your response