Microsoft

Shift Left with SonarCloud Pull Request Integration

May 10, 2018Matthew Mitrik (MS)
Shift Left with SonarCloud Pull Request Integration
SummaryAI, from the source post

This post details the integration of SonarCloud with Visual Studio Team Services (VSTS) pull requests. It describes setting up a CI build to run SonarCloud analysis, configuring PR build policies for validation, and implementing status policies to block merges based on code quality checks. The post highlights how SonarCloud comments directly on PRs to indicate code smells and other issues, allowing reviewers to see and address them without leaving the PR view. It also explains how to set up a policy to require successful code quality checks for all pull requests, ensuring a higher quality standard before merging.

More from the SonarQube Integration with MSBuild and Team Build trail