繁体   English   中英

较新版本的Artifactory的Jenkins Artifactory插件出现问题

[英]Newer version Artifactory is having problems with Jenkins Artifactory plugin

我有两个Artifactory服务器,一个是3.4.1版本,另一个是6.0.2。Jenkins配置为推送到两个具有不同ID的Artifactories,如下所示 在此处输入图片说明 旧的Artifactory运行良好,Jenkins可以连接到它,但是新的Artifactory抛出异常,无法连接到它。

以下是日志摘录:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project JavaApplications: Could not resolve dependencies for project JavaApplications:JavaApplications:jar:1.0.0: Failed to collect dependencies at net.sf.jt400:jt400-full:jar:5.4: Failed to read artifact descriptor for net.sf.jt400:jt400-full:jar:5.4: Could not transfer artifact net.sf.jt400:jt400-full:pom:5.4 from/to central (http://artifactory/artifactory/libs-release): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 

显然,与证书有关吗? 请帮忙

您需要将Jenkis *.crt文件添加到cacerts 在Artifactory 页面上有一个简单的行会。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM