Home > database >  Azure pipelines, how to create release notes
Azure pipelines, how to create release notes

Time:09-08

In azure pipelines, once I fix some bug/task, I tag the number with hashtag #, so once my code merges to the master, those backlogs become "done" status automatically.

My goal is, once we deploy this to any stage on release pipeline, (lets say UAT stage) I want those completed backlogs to be sent to user/customer to test automatically.

Is there a custom task or sth to manage this?

Note: i do not want all completed backlog list to sent, only the completed ones between two deploys, like a differential. So that they will know what to test.

Maybe we can call it, automatically created release notes by the way :) enter image description here

CodePudding user response:

If the completed work items have been associated with a commit every time. Then you can try extension Generate Release Notes. This Extension is used to Generate Release Notes based on difference in Commits and Work Items between two BuildId's. You can also find other similar extensions from Marketplace

After that, you can add a PowerShell task at the end of state and write script to call Send Mail REST API to send the completed work item list to the specific users.

Reference:

CodePudding user response:

I would do this by using custom script tasks/jobs:

  1. integrate with project management software (e.g. Jira or ADS Boards), fetch the backlog data,
  2. integrate with Azure Pipelines also, fetch the latest run to have its date,
  3. generate the backlog diff using output from 1 and 2,
  4. integrate with an email service like SendGrid to send the emails (alternatively, you could deploy your own email server which is much more tedious and error prone),
  5. Maybe also save the content of the emails to a blob storage to have it as an archive if needed.
  • Related