jenkins升级步骤
war包下载地址
https://www.jenkins.io/download/
点击Past Releases,选择war版本
1.将要升级指定版本的jenkins的war包下载并解压到tomcat的webapp目录下
wget https://get.jenkins.io/war-stable/2.346.3/jenkins.war
2.将tomcat的catalina.sh指定一下工作目录
export JENKINS_HOME="/home/test/.jenkins"
3.启动tomcat
升级jenkins遇到的问题
jenkins_2.222升级到2.3.63版本
启动jenkins报错,无法加载页面,报错如下:
java.lang.IllegalStateException: An attempt to save the global configuration
解决办法
将这个包下载到jenkins插件目录下,然后重启jenkins,进行访问即可
wget https://updates.jenkins.io/latest/role-strategy.hpi --no-check-certificate
ll /home/test/.jenkins/plugins/role-strategy.hpi
标签:升级,https,tomcat,centos7,版本升级,io,jenkins,war From: https://www.cnblogs.com/zhang-xiao-shuang/p/16612338.html