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

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

What is Jenkins?

Jenkins is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. Jenkins is used to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build.