Use the SonarQube analysis build tasks in your continuous integration builds to understand the technical debt of your projects. From dynamically producing rulesets, to computation of the clones, metrics, and analysis for languages other than .Net this extension makes it seamless to integrate the two products.
This extension is now unpublished from Marketplace. You can choose to uninstall it.
SonarQube is an open platform to manage code quality. The platform covers the Seven Axes of Quality, also known as Developers’ Seven Deadly Sins: Duplications, Coding standards, Lack of coverage, Potential bugs, Complexity, Documentation and Design.
SonarQube build tasks
Use the SonarQube analysis build tasks in your continuous integration builds to understand the technical debt in your projects. This extension provides integration with MSBuild and Maven builds.
SonarQube MSBuild integration
The first of these tasks is used to define a step that start the SonarQube analysis, before any MSBuild build steps. The Begin Analysis task contacts the SonarQube server to retrieve the quality profile, and dynamically produces rulesets to be applied during the static analysis. It also sets things up so that the following MSBuild steps capture project data required to configure the analysis.
The End Analysis task finalizes the analysis (computation of the clones, metrics, and analysis for languages other than .Net), and sends the analysis results to the SonarQube server. It should be executed after the “Visual Studio Test” task step if you want SonarQube to show code coverage data. In any case, it should be run after the “Visual Studio Build” step.
SonarQube Maven task integration
In addition to the above tasks this extension also adds a section to the existing Maven task to perform SonarQube analysis on Java projects. Here is what a configuration of that task would look like.