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?
You can use the addAttachment action with the Confluence CLI task from Run CLI Actions in Bamboo.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.