Confluence/Bamboo: How can I automatically attach a generated document from bamboo to confluence?

I have a code generator tool that is used to generate source code as part of a build plan. It can also generate PDF documents. I would like to, as part of the build plan, attach the file to a Confluence page.

Can this be done?

1 answer

Hallo Clifford

You could use the "AddAttachment" action of the Confluence CLI tool:

https://marketplace.atlassian.com/plugins/org.swift.confluence.cli

Documentation is here:

https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation

Your Bamboo plan could trigger the CLI action.

I hope this helps!

Cheers, Sarah

And there is now a Bamboo task that can do in within your Bamboo build - see CLI Plugin for Bamboo

The Bamboo CLI plugin sounds more like what I want to do. Currently, I have Bamboo 3.4. I believe the plugin for Bamboo requires at least Bamboo 4.0? There is some discrepancy between the release notes and the Marketplace page, one says that the CLI was tested on Bamboo 3.4, the Marketplace indicates it's for 4.0 - 4.3

I'm planning an upgrade soon, but is there a version I can try out with my current Bamboo?

thanks for the info.

The base Atlassian CLI was tested on multiple releases including Bamboo 3.4 - 4.3. However, the CLI task plugin was built for 4.x only.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,647 views 25 10
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