I need to download the latest artifact from a build. I have the correct address which I can download once authenticated in Browser.
Need to now be able to download the artifact via Python. However, I'm not sure how to authenticate? I get the following headers back:
Server: nginx Date: Mon, 25 Jun 2012 12:33:49 GMT Content-Type: text/html;charset=UTF-8 Connection: close Set-Cookie: JSESSIONID=A7E2F5E2C0B4C06C00C3346CC2CC7371; Path=/builds; HttpOnly X-Seraph-LoginReason: OUT Vary: Accept-Encoding Content-Length: 415
So I guess I need to use some kind of Seraph authentication?
Guess this is the way to go?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't work at all - Bamboo just always responds with 403 forbidden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matt, take a read of REST and os_authType. It should cover how to authenticate to Bamboo correctly via REST.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks James. Needed os_authType and used the following article:
http://www.voidspace.org.uk/python/articles/authentication.shtml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.