Jenkins is an open-source automation server, which will help you to build, deploy and automate your enterprise application.

Jenkins has a very active open source community. They constantly release new versions with lot of new features and bug fixes.

In this tutorial, we’ll explain how to upgrade your Jenkins to a newer version, and update all the plugins accordingly.

Open your Jenkins and select manage Jenkins.

Then select manage plugins and install all available pugins.

After plugin installation. In Linux,
1) Open the terminal

2) Go to the below path.
/usr/share/jenkins

3) Stop the Jenkins service
sudo service jenkins stop

4) Rename jenkins.war to jenkins.war.old

sudo mv jenkins.war jenkins.war.old

5) Download the latest version.

sudo wget https://updates.jenkins-ci.org/latest/jenkins.war

6) Start the Jenkins service.

sudo service jenkins start