Hello!

One of my Visual Studio plugins uses the build badge on it’s overview page in the Marketplace. I quite like using these status badges because it shows there’s some form of automation in place to deliver the extension. However the other day I was looking at the page in the marketplace and was surprised to see that the status of the build was “never built.” So looking into it it is because the build retention policy is set to a number of days, and after that everything is deleted.

build has run but badge is never

It strikes me as a bit of an odd decision that in order to keep build badges, you need to set the retention policy to be longer, because there’s not a great deal of change that occurs with the extension other than the build agents that the extension is tested on being updated. As a precaution I like to run the build every 3 months so that the tests are run and that I’m confident that the extension will work on the build agents I am testing on.

build has run and badge is passed

Apparently they are going to eventually allow build badge statuses to be retained without having to save an entire run.

As an aside I’ve updated the build of my extension to run on Linux 1804, so that’s another build agent supported.