Use SonarQube quality gates to control our Team Foundation Services (TFS) builds

Hi, We are using SonarQube as a build task on out TFS build server. Now I want a build to fail if the code does not meet the conditions imposed by a SonarQube quality gate.

Previous (according the following documentation)

there was a solution with the Sonarscanner for MSBUILD.

Currently are using the community version of SonarQube version 7.9.1 and version 4 of the TFS plugin.

Any help would be appreciated.

Thanks in advance!


There a community plugin to do so, check here :


1 Like