How to update Jenkins

Simple easy steps on upgrading a pre-installed Jenkins

First we need to locate where Jenkins is installed. Common location of jenkins war file on ubuntu server is:

/usr/share/jenkins

Once found you need to follow these steps

  1. cd /usr/share/jenkins
  2. sudo service jenkins stop
  3. sudo mv jenkins.war jenkins.war.old
  4. sudo wget https://updates.jenkins-ci.org/latest/jenkins.war
  5. sudo service jenkins start