While running my existing Jenkins Project I am running into the below issue as soon as I start it -
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.
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.