Mathias Olausson [MVP]

Build Status Badge for TFS 2015 and VSO

with 4 comments

A while back I wrote a post about how we can create a build bagde in TFS just like some of the other CI server can. It was actually really simple but since it was a custom extension it needed to be deployed outside of TFS, which of course is a bit of a pain. 

With TFS 2015 RC and the new build system I’m happy to see there is now a new feature that let’s you get a build badge automatically!

To get a build badge you just need to enable it on the build vNext build definition:

image

Note how nice the url to the badge is presented:

image

With this you can easily include the build badge in any web page. I really like the new Markdown support so I would include it in your wiki by simply point to in the badge url:

image

Save and it renders nicely like this:

image

So with this my suggestion on Uservoice can be closed.

Written by Mathias Olausson

May 6th, 2015 at 10:35 pm

4 Responses to 'Build Status Badge for TFS 2015 and VSO'

Subscribe to comments with RSS or TrackBack to 'Build Status Badge for TFS 2015 and VSO'.

  1. Thanks for this post, Mathias! I have promptly incorporated it into my project wikis on VSO as well as my Frankenbuild site for extra visibility.

    Josh Garverick

    7 May 15 at 2:50 am

  2. Thanks, I think this is a nice small gem that gives that extra eye-candy to the project wiki. Great for visibility as you say.

    Mathias Olausson

    12 May 15 at 2:32 pm

  3. This is a nice feature to build a dashboard of all CI builds, but I find it more convenient when the build status is always on my screen. And with the missing support for vNext Builds in MS Build notification tool, https://catlight.io seems to be the only option for now.

    BKeat

    15 Mar 16 at 7:54 am

  4. See my previous comment 🙂

    Mathias Olausson

    29 Mar 16 at 12:04 pm

Leave a Reply