简体   繁体   English

执行Jenkins项目时无法加载Maven元数据错误

[英]Unable to load Maven meta-data error while executing Jenkins project

While running my existing Jenkins Project I am running into the below issue as soon as I start it - 在运行我现有的Jenkins项目时,我一开始就遇到了以下问题 -

Click to view the error 单击以查看错误

I tried hitting the URL for Maven Meta Data (as in the screen shot) manually to check 401 issue but I am able to download the meta data file through browser. 我尝试手动点击Maven Meta Data的URL(如在屏幕截图中)来检查401问题,但我可以通过浏览器下载元数据文件。 artifact.unx is an internal site. artifact.unx是一个内部站点。 I have re-checked my access to the site as well and it works fine. 我也重新检查了我对该网站的访问权限,它运行正常。 Also, this has been a recent issue and Jenkins project executed just fine some days back. 此外,这是最近的一个问题,詹金斯项目在几天后执行得很好。

Any lead here would be useful. 这里的任何领先都是有用的。

Most likely your repository requires authentication and something changed in the setup of it, a proxy or the machine running Jenkins jobs that make it no longer authorised. 很可能您的存储库需要身份验证,并在其设置,代理或运行Jenkins作业的计算机上进行了更改,使其不再获得授权。

Gradle supports multiple schemes of authentication for repositories. Gradle支持多种存储库身份验证方案。 Have a look at the documentation . 看看文档

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

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