问题解决: 参考:https://www.cnblogs.com/forever521Lee/p/9356212.html https://www.cnblogs.com/sxdcgaq8080/p/10489326.html
1. jenkins插件如果安装不上。 修改 /jenkins/updates/default.json文件,将google改为百度。google访问不到。
2. 修改/var/lib/jenkins/hudson.model.UpdateCenter.xml
该文件为jenkins下载插件的源地址,改地址默认jenkins默认为:https://updates.jenkins.io/update-center.json,就是因为https的问题,此处我们将其改为http即可,之后重启jenkins服务即可。
其他国内备用地址(也可以选择使用):
https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
http://mirror.esuni.jp/jenkins/updates/update-center.json
步骤:
1.安装 invoke ant插件、HTML测试报告展示的插件。 参考: https://blog.csdn.net/weixin_41665637/article/details/96428227
(1)在Jenkins创建管理中安装 HTML Publisher Plugin和Ant In Workspace。
搜索插件HTML Publisher Plugin,找不到的话晚上搜索,然后上传安装。
原文:https://www.cnblogs.com/super-lebron/p/12809649.html