SonarQube Code Analysis issues integration into Pull Requests
Jun 1, 2016Bogdan Gavril

Summary
This post introduces the integration of SonarQube code analysis results directly into Visual Studio Team Services (VSTS) pull requests. When a build definition configured with SonarQube tasks runs as part of a Pull Request (PR), it performs an incremental analysis. New static analysis issues identified by SonarQube are then added as comments to the PR, similar to how a human reviewer would provide feedback. This allows developers to see and fix issues directly within their code review workflow. The post also explains how to configure CI and PR builds to leverage this feature and provides troubleshooting steps.