Category Archives: Custom Development

A Quality Gate Dashboard Widget for VSTS

In a previous post we figured out how we could work with SonarQube Quality Gates in a JavaScript build on VSTS. For regular VSTS builds (based on MSBuild that is) Sonar provides an excellent extension that enables several goodies including a “Publish Quality Gate Result” build task. Unfortunately this task requires MSBuild to function correctly and our usual client side/

Read more

SonarQube Quality Gates and VSTS builds

SonarQube includes the concept of quality gates and these gates allow you to answer questions about the quality of the code being analyzed. They come as sets of Boolean conditions and can be based on the usual Sonar metrics including blocker issues, code coverage on new code, reliability rating, etc. Here are the default settings: More info here: https://blog.sonarsource.com/quality-gates-shall-your-projects-pass Based

Read more

Managing External Identities in Umbraco BackOffice with PolicyServer

The authors of IdentityServer did a great job providing us with a framework for incorporating identity and access control logic in our apps and APIs. But they also warned us about misusing the IdentityServer software as an authorization/permission management system. So now they have created a new product called PolicyServer and it is available in both Open Source version and

Read more

JavaScript Unit Tests with Visual Studio Team Services

TL;DR: JavaScript Unit Testing with VSTS using real browsers. We would like to run JavaScript unit tests; And we prefer a real browser for this, so no PhantomJS or equivalent; And run our tests from a Visual Studio Team Services build; VSTS hosted build agents don’t have Chrome or Firefox installed; So things break; We fix this by providing a

Read more

Hooking up Umbraco and Azure Functions with webhooks

Umbraco allows you to setup post deployment webhooks and you can use these to perform all kinds of post deployment tasks (notifying community members, announcement on Slack channels, signaling a monitoring application, etc.). For this post we will trigger custom code in Azure that sends out a simple email notification, but that can easily be extended into more complex scenarios.

Read more

Getting started with SonarQube and TypeScript

Update The source code with this post was updated to reflect the new SonarTS version 1.2 and SonarQube version 6.7. For more information on how to extend the basic scenario with code coverage, see this post: Better together: SonarQube, TypeScript and Code Coverage SonarSource recently released an official first version of a static code analyzer for TypeScript. So if you want

Read more
« Older Entries