MicrosoftPremier / VstsExtensions

Documentation and issue tracking for Microsoft Premier Services Visual Studio Team Services Extensions
MIT License
56 stars 14 forks source link

Fail Build On: Force Fewer Warnings - Only works from the second build on after increasing number of warnings #117

Closed greycoding closed 3 years ago

greycoding commented 3 years ago

Self-hosting Azure DevOps Server 2019 TFVC Simple build definition with NuGet Restore, Visual Studio Build - 2017 and CheckBuildQuality task. C# Solution, ConsoleApp (.NET Framework 4.8)

CheckBuildQuality: The default settings have been modified as follows: Warnings Policy - Enabled: checked Fail Build On: Force Fewer Warnings: checked Evaluate Task Warnings (with default Tasks Filter): checked

Output from second build: SystemVssConnection exists true Using LegacyJobResolver Validating build warnings policy... Running task warnings analysis... Counting warnings from tasks:

ReneSchumacher commented 3 years ago

Ouch! This is embarrassing :-( How could we miss this?! That's what you get for primarily focusing on code coverage.

The issue is already fixed and in the release pipeline. Sorry for that!

greycoding commented 3 years ago

Thanks, v7.5.2 now works as expected.