Write directory title here
1. The jenkins version is too low, and some plug-ins cannot be upgraded. At this time, we need to upgrade the jenkins version
2. The first method - pull down will let us download the new version on the jenkins page
3. The second method is to download the war package from the official website
https://www.jenkins.io/
4. Enter the jenkins login machine and find jenkins.war
5. Copy a copy of jenkins.war as a backup
6. Close the jenkins service and check the jenkins status
systemctl stop jenkins
systemctl status jenkins
7. Move the latest jenkins.war to the current directory
[root@mylinux1 ~]
/var/lib/docker/overlay2/9faa04c279a7a03a33a9714036e8132f4812b3e62a4a39e691a3918c082bffc6/diff/usr/share/jenkins/jenkins.war
/var/lib/docker/overlay2/24318a7e61e01f7564924bddd0e90ecb25a75a33b82cc0b81b9d14949ccb9533/merged/usr/share/jenkins/jenkins.war
[root@mylinux1 ~]
[root@mylinux1 jenkins]
jenkins_cp.war jenkins.war
[root@mylinux1 jenkins]
[root@mylinux1 jenkins]
jenkins_cp.war jenkins.war ref
8. Start jenkins again (or restart the server directly)
systemctl start jenkins