jenkins中维护的一些错误记录
Q5:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Index of /jenkins/plugins/skip-certificate-check/
- 下载插件Skip Certificate Check plugin的安装文件
- 在插件管理→高级→上传插件 进行安装
- 安装完成后重启jenkins
- 点击下载其他插件
- 成功
Q4:java.security.cert.CertificateException: No subject alternative DNS name matching updates.jenkins.io found
配置DNs
Q3:AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"? See also: https://www.jenkins.io/redirect/troubleshooting/java.awt.headless
yum -y install fontconfig
重启
Q2.No valid crumb was included in the request
证书不对
Q1.编译错误
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
原因分析:jenkins无法准确识别revision
解决方法:
在 branch specifier (blank for any)处留空白,这样它会自动识别所有的revison包括分支branch的
或者精确匹配revison的所在位置