Jenkins upgrade to new version

1. Download the Jenkins.war file

$ cd /tmp

$ wget http://updates.jenkins-ci.org/download/war/2.167/jenkins.war

2. Backup the existing jenkins.war file

$ cp -p /usr/lib/jenkins/jenkins.war /usr/lib/jenkins/jenkins.war.orig

3. Replace the existing jenkins.war with the version of .war file downloaded

$ cp jenkins.war /usr/lib/jenkins/jenkins.war

4. Restart the jenkins server

$ systemctl stop jenkins

$ systemctl start jenkins

5. Check and see if jenkins  is working properly

Note: updated the plugins if needed

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *