簡體   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