Error : Unable to load maven-metadata.xml while executing Jenkins project

18 views
Skip to first unread message

kirtisha...@gmail.com

unread,
May 3, 2019, 7:13:43 AM5/3/19
to Jenkins Users
While running my existing Jenkins Project I am running into as seen in the screen shot as soon as i run the test 

When I try executing the test using command line with the below command and I am able to run the tests - 

C:\forecast\Jenkins\workspace\BVTDeployment\gradlew.bat clean integrationtest -DHTTP_HOST=%host% -D###_USER=%Username% -D###_PASS=%Password% -DintegrationTest.single=BVTDeployment 

but when I do it through Jenkins I am still getting the same error as mentioned above. 

Any leads will be helpful.

jenkins error.JPG

James Nord

unread,
May 6, 2019, 1:41:41 PM5/6/19
to jenkins...@googlegroups.com
the error you are getting is artifactory is saying the user running the build needs to give it some credentials (401)

not sure how you configure Gradle to use username/password for repositories, but if you start there you should find your answer.

/Janes

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/11bdb8e2-4c60-49eb-99c0-47f64ff75f41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages