Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to upload the result Bamboo Artifact to Confluence?

Nil Plana June 30, 2015

Using a job into a plan or with a free add-on?

I have the both services on the same server and I've tried to use a 'curl' to upload the result file into Confluence using it's API like this:

#curl -v -S -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F "file=@../TEST-JOB1/my-project-dist/target/my-file-dist-1.0.zip" -F "comment='this is my file'" "http://localhost:8080/confluence/rest/api/content/3604482/child/attachment"

Any hint? or somebody has solved this?

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 1, 2015

You can use the addAttachment action with the Confluence CLI task from Run CLI Actions in Bamboo.

Nil Plana July 2, 2015

Isn't free :-| but thanks for the option.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events