Jenkins插件下载错误时间问题

  1. 以下为错误原因,主要是虚拟机的时间和北京时间不一致造成的

java.security.cert.CertificateNotYetValidException: NotBefore: Tue Mar 26 10:14:30 UTC 2024

jenkins-jenkins-1  | 2024-03-25 19:36:03.946+0000 [id=72]	INFO	h.model.UpdateCenter$DownloadJob#run: Starting the installation of gitee on behalf of admin
jenkins-jenkins-1  | 2024-03-25 19:36:03.947+0000 [id=72]	INFO	h.m.UpdateCenter$UpdateCenterConfiguration#download: Downloading gitee
jenkins-jenkins-1  | 2024-03-25 19:36:05.589+0000 [id=72]	SEVERE	h.model.UpdateCenter$DownloadJob#run: Failed to install gitee
jenkins-jenkins-1  | java.security.cert.CertificateNotYetValidException: NotBefore: Tue Mar 26 10:14:30 UTC 2024
jenkins-jenkins-1  | 	at java.base/sun.security.x509.CertificateValidity.valid(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.BasicChecker.verifyValidity(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.BasicChecker.check(Unknown Source)
jenkins-jenkins-1  | Caused: java.security.cert.CertPathValidatorException: validity check failed
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/java.security.cert.CertPathValidator.validate(Unknown Source)
jenkins-jenkins-1  | Caused: sun.security.validator.ValidatorException: PKIX path validation failed
jenkins-jenkins-1  | 	at java.base/sun.security.validator.PKIXValidator.doValidate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.validator.Validator.validate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
jenkins-jenkins-1  | Caused: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
jenkins-jenkins-1  | 	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1323)
jenkins-jenkins-1  | Caused: java.io.IOException: Failed to load https://updates.jenkins.io/download/plugins/gitee/1170.v3d4640b_34233/gitee.hpi to /var/jenkins_home/plugins/gitee.jpi.tmp
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1334)
jenkins-jenkins-1  | Caused: java.io.IOException: Failed to download from https://updates.jenkins.io/download/plugins/gitee/1170.v3d4640b_34233/gitee.hpi (redirected to: https://get.jenkins.io/plugins/gitee/1170.v3d4640b_34233/gitee.hpi)
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1368)
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1925)
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2237)
jenkins-jenkins-1  | 	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1899)
jenkins-jenkins-1  | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
jenkins-jenkins-1  | 	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
jenkins-jenkins-1  | 	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:121)
jenkins-jenkins-1  | 	at java.base/java.lang.Thread.run(Unknown Source)
相关推荐
程序员勋勋12 分钟前
【自动化测试】如何在jenkins中搭建allure
职场和发展·jenkins·测试覆盖率
bysking22 分钟前
【前端-组件】定义行分组的表格表单实现-bysking
前端·react.js
王哲晓37 分钟前
第三十章 章节练习商品列表组件封装
前端·javascript·vue.js
fg_41140 分钟前
无网络安装ionic和运行
前端·npm
理想不理想v42 分钟前
‌Vue 3相比Vue 2的主要改进‌?
前端·javascript·vue.js·面试
酷酷的阿云1 小时前
不用ECharts!从0到1徒手撸一个Vue3柱状图
前端·javascript·vue.js
微信:137971205871 小时前
web端手机录音
前端
齐 飞1 小时前
MongoDB笔记01-概念与安装
前端·数据库·笔记·后端·mongodb
神仙别闹1 小时前
基于tensorflow和flask的本地图片库web图片搜索引擎
前端·flask·tensorflow
GIS程序媛—椰子2 小时前
【Vue 全家桶】7、Vue UI组件库(更新中)
前端·vue.js