I am successfully using an example from Bitbucket to create a release within Octopus Cloud from Bitbucket Pipelines
However what I’m not able to find any specific documentation for is how to supply release notes when a release is created
I’ve attempted the following, guessing at the RELEASE_NOTES and RELEASE_NOTES_FILE variables names after reading Create release | Documentation and Support. However neither seem to work
Thanks for reaching out on our community forums! I am sorry you’re having trouble with the release notes in your bitbucket pipeline.
In your pipeline script, you’ll want to use the tag specified in the create release documentation. If you use --releaseNotesFile instead of the release_notes_file, you should have better luck.
Thanks for that clarification. We have a blog post that goes over setting up Bitbucket pipelines and integrating with Octopus. You might find the Push Build Information to Octopus section helpful as it offers some sample pipeline steps, and full build information bash script, that shows how to push build info to Octopus using Bitbucket pipelines.
Lastly, the entire sample pipeline YAML from that blog post is available on that page as well and might help you structure your pipeline steps. I know that this YAML is very similar to the one you originally posted but it might help to follow it better by referencing the blog post.
Whilst reading the Bitbucket link you supplied, I found details of the EXTRA_ARGS parameter which I’ve been able to successfully use to include the release notes
Hey Peter,
Awesome! Glad you got it working. If anything else comes up, don’t hesitate to reach out again on the community forums or with an email to support@octopus.com.