找到原来版本

find / -name jenkins.war

首要停掉Tomcat服务

/usr/local/tomcat/bin/shutdown.sh
netstat -ntap | grep :8080

备份原来版本

mv /usr/local/tomcat/webapps/jenkins.war   /root

两种途径下载最新版的Jenkins.war包

https://updates.jenkins-ci.org/download/war/
http://mirrors.jenkins.io/war-stable/
mv jenkins.war  /usr/local/tomcat/webapps/

重启Tomcat

/usr/local/tomcat/bin/startup.sh

刷新浏览器页面