jenkins升级

Jenkins升级只要替换jenkins.war包就行了 

[root@VM-0-15-centos jenkins]# ls 
apache-maven jdk-11.0.15.1 jenkins.war node nohup.out 

[root@VM-0-15-centos jenkins]# mv jenkins.war jenkins.war.2024.1.6 

[root@VM-0-15-centos jenkins]# ls 
apache-maven jdk-11.0.15.1 jenkins.war.2024.1.6 node nohup.out

下载新的jenkins包:

​
[root@VM-0-15-centos jenkins]# wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.426.2/jenkins.war

...

[root@VM-0-15-centos jenkins]# ls 
apache-maven jdk-11.0.15.1 jenkins.war jenkins.war.2024.1.6 node nohup.out

​

然后重启一下Jenkins就行了。

你可能感兴趣的:(jenkins,servlet,运维)