Reputation: 1658
Is it possible to send plugin analysis results to the SonarQube server from Visual Studio?
I work in connected mode, click Update from TeamExplorer->SonarQube-Connections. But server itself is not updated with the results.
I have to do some CLI stuff I've found here:
in order to update the server
path=%path%;C:\Sq\MSBuild.SonarQube.Runner-1.0.1
MSBuild.SonarQube.Runner begin /n:Backlogmaps /v:1.0 /k:blm
Msbuild
MSBuild.SonarQube.Runner end
Upvotes: 2
Views: 4101
Reputation: 2080
SonarLint cannot push analysis results to SonarQube. As you already found, you need to use the command line scanner or setup our Jenkins or TFS extensions on your CI server.
SonarLint for Visual Studio does exactly two things:
Update
command in the context menu downloads the quality profile from SonarQube and updates the Visual Studio project settings.I hope this helps.
Upvotes: 8