Download The New War File of Jenkins
Now you will have to download the new war file of jenkins, so now that you have checked that you have an older version of the jenkins, you can begin installing the new jenkins version for this, follow the steps:
Step 1: Download War File
For downloading the war file, you can visit the official website of jenkins and go to changelog, and look for the version you want to install.
Step 2: Paste the Link
Now you will have to paste the link of the war file that you had copied, for this you will have to follow the below command format:
cd /downloads
wget http://updates.jenkins-ci.org/download/war/2.9/jenkins.war // replace this command with the link you have copied.
This will give you the following output
Note: First, we should keep a backup of the current file, for this we can use the following step
Step 3: Take a Backup of the Existing Version
First you will have to take a backup of the existing version of jenkins, for this you can run the following command first:
cp /usr/lib/jenkins/jenkins.war /downloads/jenkins.war.previous.version
How To Update Jenkins In Linux?
Jenkins is known as open-source software that is popularly used for the automation of the server, it is widely used for building and deploying applications on an enterprise level, so if you are using the Jenkins software for production and its deployment, it is very important to make sure that the Jenkins software is updated to its latest version.
As the Jenkins software is widely known and used in the open-source community, it gets updated every once in a while, so you should make sure that you update the Jenkins software in your system to make sure it works properly with all the latest features. In this article we will understand how we can update Jenkins in Linux.
Contact Us