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

795 views Asked by At

While running my existing Jenkins Project I am running into the below issue as soon as I start it -

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. artifact.unx is an internal site. 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.

1

There are 1 answers

0
Louis Jacomet On

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.

Gradle supports multiple schemes of authentication for repositories. Have a look at the documentation.