wget --http-user=user --http-password=password https://hostname.server.com/jenkins/job/tool/lastSuccessfulBuild/artifact/tool.zip
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 https://hostname.server.com/jenkins/job/tool/lastSuccessfulBuild/artifact/tool.zip
2 comments :
Thank you for this!
Thank dude
Post a Comment