I've a python script that downloads artifacts from a bamboo job using Bamboo REST API. and then use those artifacts to further generate reports.
To download the artifacts,
1. I get latest job results using
https://<my-domain>/rest/api/latest/result/<jobkey with build number>?expand=artifacts
2. Use artifacts node to get href attribute of artifacts
3. hitting that href downloads the artifact.
I want to run this script on another bamboo plan. I have the plan setup and running but the only confusion I have is where will the downloaded stuff go so that I can use that?
Is there any way I can specify download location with that href hit ?