Fail build on Azure DevOps for low code coverage

added by DotNetKicks
3/5/2019 6:19:27 AM

1 Kicks, 520 Views

As my ASP.NET Core code coverage reports work nice in Azure DevOps build pipeline I took step forward and made builds fail on Azure DevOps if percent of lines covered is below 60. This blog post shows how to do it using ReportGenerator and Build Quality Checks build tasks.


0 comments