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:


If this is not the case for your system. You can find out exact path by going into
Manage Jenkins -> System Information
It will display the path to the .war file under executable-war.

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
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.