Jenkins upgrade to new version

1. Download the Jenkins.war file

$ cd /tmp

$ wget

2. Backup the existing jenkins.war file

$ cp -p /usr/lib/jenkins/jenkins.war /usr/lib/jenkins/jenkins.war.orig

3. Replace the existing jenkins.war with the version of .war file downloaded

$ cp jenkins.war /usr/lib/jenkins/jenkins.war

4. Restart the jenkins server

$ systemctl stop jenkins

$ systemctl start jenkins

5. Check and see if jenkins  is working properly

Note: updated the plugins if needed