Wednesday, March 20, 2013

Download Artifacts from Jenkins with WGET

If you find that using wget to download an artifact from a secured Jenkins server keeps failing with:

wget --http-user=user --http-password=password

HTTP request sent, awaiting response... 403 Forbidden
2013-03-20 16:35:36 ERROR 403: Forbidden.

Since Jenkins is using form based authentication, you will need to use an option:

Try this instead:
wget --auth-no-challenge --http-user=user --http-password=password

Post a Comment

Continuum (Aka Subspace)

Continuum (Aka Subspace)
Meet people from all over the world...then kill them. And it's free!