I’ve got an installation of Jenkins on a Ubuntu 14.04.5 LTS which I needed to update. In order to do so I did the following:
- Download the new version (2.107 at the moment of writing this post). In
/home/user/backup/
execute:12wget http://updates.jenkins-ci.org/download/war/2.107/jenkins.war - Backup the old version (Jenkins war is installed in /usr/share/jenkins):
12sudo cp /usr/share/jenkins/jenkins.war /home/user/backup/jenkins-2.8.war
- Overwrite the old jenkins.war:
12sudo cp /home/user/backup/jenkins.war /usr/share/jenkins/jenkins.war
- Restart jenkins
12sudo service jenkins restart
Now, you’re all set and you can start updating the plugins.
HTH,
A little experiment: If you find this post and ad below useful, please check the ad out :-)