Technical requirements
To use SonarQube and SonarLint, we have to install the Java Runtime Environment (JRE), which can be found at https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html (an Oracle account is required), on the server where we have SonarQube and on the local development environment where we have SonarLint.
To integrate SonarQube into an Azure DevOps pipeline, we must install the following extension on our Azure DevOps organization: https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube.
The complete code source for this chapter is available at.
Check out the following video to see the code in action: https://bit.ly/3s96XTR.