Download Artifacts with Python

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?

1 answer

1 accepted

This widget could not be displayed.

No idea what the OnDemand REST API URL is though?

This doesn't work at all - Bamboo just always responds with 403 forbidden

Matt, take a read of REST and os_authType. It should cover how to authenticate to Bamboo correctly via REST.

Thanks James. Needed os_authType and used the following article:

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

144 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you