jenkins 插件版本冲突

一、Jenkins安装git parameter 插件重启后报错与临时解决方案

cd /root/.jenkins

cp config.xml config.xml.bak

vim config.xml

xml 复制代码
<authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy">
    <denyAnonymousReadAccess>false</denyAnonymousReadAccess>
</authorizationStrategy>

重启jenkins

二、系统管理=>插件管理=>高级,在升级站点中替换成清华源地址:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/dynamic-stable-2.346.3/update-center.json

三、修改Jenkins配置文件中插件更新地址为清华源地址

cd /root/.jenkins/

vim hudson.model.UpdateCenter.xml

四、修改default.json

cd /root/.jenkins/updates

wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/dynamic-stable-2.346.3/update-center.json

cp default.json default.json.bak

mv update-center.json default.json

五、禁用证书校验

cd /usr/local/tomcat8/apache-tomcat-jenkins/bin

vim catalina.sh

添加以下内容:

JAVA_OPTS="$JAVA_OPTS -Dhudson.model.DownloadService.noSignatureCheck=true"

重启tomcat

systemctl stop tomcat.service

systemctl start tomcat.service

六、还原config.xml,重启Jenkins

cd /root/.jenkins

cp config.xml.bak config.xml

cd /usr/local/tomcat8/apache-tomcat-jenkins/bin/

sh shutdown.sh

sh startup.sh

七、系统管理=>插件管理,点下方立即获取,即可安装Jenkins 2.346.3版本的所有插件

相关推荐
xingyuzhisuan7 小时前
网络 Token 常见故障原理,基础排查科普
运维·服务器·网络·php
APIshop7 小时前
Python 获取 1688 商品采集 API 接口 | 工厂货源自动化对接商品信息 | 无需选品
运维·python·自动化
wljy18 小时前
二、进制状态转换
linux·运维·服务器·c语言·c++
handler018 小时前
【MySQL】常用命令总结(库与表增删查改)
运维·数据库·mysql·命令·总结
week@eight8 小时前
Linux - Doris
linux·运维·数据库·mysql
看到代码头都是大的9 小时前
CentOS环境下手动升级openssl、openssh
linux·运维·centos
浮生若城9 小时前
Linux——Ext系列文件系统
linux·运维·服务器
ITyunwei09879 小时前
主流 SaaS 工单系统对比
运维·服务器·人工智能
weixin_548444269 小时前
爆红处理APK 自动化编译流水线 v2026(英文名:APK AutoPipeline)
运维·自动化
枳实-叶9 小时前
【Linux驱动开发】第16天:按键中断完整实战
linux·运维·驱动开发