I am trying to generate release notes when I push packages from Azure DevOps server to Octopus.
Steps for publishing build information is added in my build definition.
This is my package in Octopus.
And I use below release notes template in my project
I am trying to generate release notes when I push packages from Azure DevOps server to Octopus.
Steps for publishing build information is added in my build definition.
This is my package in Octopus.
And I use below release notes template in my project Changes in this relesae:
#{each package in Octopus.Release.Package}
#{package.PackageId} #{package.Version}
#{each commit in package.Commits}
- #{commit.Comment}
#{/each}
#{/each}
This is printing only the package IDs and not the comments attached to it as shown below
Any idea why the attached commit-comments are not getting published as part of release notes
Thanks for getting in touch. Based on the screenshots, I’m guessing your server version is somewhere between 2019.5-2019.10, would that be correct? In 2019.10 we renamed the Metadata things to be Build Information.
Also from the screenshots, the commits look like they’re coming from TFVC, is that correct? Unfortunately we didn’t add support for those until 2019.13, so I’m pretty sure in the version you have your release notes template is exactly correct but the server is screening out the TFVC data. An upgrade to a version >= 2019.13 should render the notes correctly.