Azure Devops – Add your build status badges to your Wiki
Its always a good idea on your project to keep your project documentation up to date, I personally like to make use of the Wiki inside Azure Devops, we use Azure Devops almost exclusively at work now.
On the wiki we have a page which documents the Azure Builds and Release pipelines, so that people can get an idea of what the individual builds are for and explain the steps within the Release pipelines, for the most part this is really straightforward, but for new people joining the team it just makes life easier to have this kind of thing written down and explained.
On that note I wanted to show you how to add the status badges for each build to your Wiki, it took me a wee while to find this so I thought I’d blog it because I’ll forget and so other people can see how to do it.
An example of the kind of thing I am talking about is below: –
So how do you find the Markdown for the badges so that you can add this to your wiki or elsewhere?
If you browse to your build(s) for your projects, click on the 3 ellipses on the right hand side, next to the Edit and Queue buttons and then choose Status Badge
Then you need to select the text next to Markdown, and then just paste this into your wiki page.
Hopefully someone finds this useful, bye for now.
[…] Azure Devops – Add your build status badges to your Wiki (Gregor Suttie) […]
[…] Azure Devops – Add your build status badges to your Wiki via Gregor Suttie […]
Is it just me or would it be much more useful if we had options for adding release/version/date info to the badge instead of just success/fail
Thanks for your small tutorial. Is there a way to get the status badge for the last build of a pipeline? Not the last build of a specific branch in a pipeline. When I remove the branch name from the link the badge created is the one from the default branch instead just the last build. I need this because I’m using release/x.y branches to build my beta version so I don’t have a fixed long-living beta branch.
Thanks for your small tutorial. Is there a way to get the status badge for the last build of a pipeline? Not the last build of a specific branch in a pipeline. When I remove the branch name from the link the badge created is the one from the default branch instead just the last build. I need this because I’m using release/x.y branches to build my beta version so I don’t have a fixed long-living beta branch.
Thannk you for writing this