Reputation: 3636
Is it possible to push a file to the 'Downloads' section of a Bitbucket repo from Bamboo? I.e., if I make Bamboo run a script that generates a zip file, can Bamboo then push that zip file?
Upvotes: 0
Views: 366
Reputation: 1145
Bamboo doesn't have built-in support for such operation. But it should be easy to achieve it by final Script task with some curl commands.
According to scenario described here it's possible to upload artifact by REST call. So you need to create plan variable with Bitbucket Cloud permissions and add last task of your build to run curl command from article. Hope it helps. If you need more details how to configure Bamboo for such flow - just let me know
Upvotes: 2