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)
相关推荐
鑫~阳2 分钟前
html + css 淘宝网实战
前端·css·html
Catherinemin6 分钟前
CSS|14 z-index
前端·css
lifeng43211 小时前
Jenkins集成部署(图文教程、超级详细)
运维·jenkins
2401_882727572 小时前
低代码配置式组态软件-BY组态
前端·后端·物联网·低代码·前端框架
NoneCoder2 小时前
CSS系列(36)-- Containment详解
前端·css
anyup_前端梦工厂2 小时前
初始 ShellJS:一个 Node.js 命令行工具集合
前端·javascript·node.js
5hand2 小时前
Element-ui的使用教程 基于HBuilder X
前端·javascript·vue.js·elementui
GDAL2 小时前
vue3入门教程:ref能否完全替代reactive?
前端·javascript·vue.js
六卿2 小时前
react防止页面崩溃
前端·react.js·前端框架
z千鑫3 小时前
【前端】详解前端三大主流框架:React、Vue与Angular的比较与选择
前端·vue.js·react.js