Simon
Simon

Reputation: 1416

SonarQube VSTS extension pull request commenting

The SonarQube docs specify:

When analysis is triggered from a Pull Request the SonarQube Scanner for MSBuild - End Analysis task decorates the updated source code in the Pull Request with the new code quality issues, instead of pushing the analysis report to the SonarQube server.

How can you turn this on? We are using TFS 2018 with version 3.x of the SonarQube TFS/VSTS extension.

Upvotes: 2

Views: 383

Answers (1)

Marina Liu
Marina Liu

Reputation: 38106

The SonarQube for MSBuild - End Analysis task is deprecated now and it can not be used.

The workaround is execute SonarQube.Scanner.MSBuild.exe end command manually.

You can queue your build by the private agent which installs SonarQube Scanner for MSBuild.

Upvotes: 1

Related Questions