SonarQube Code Analysis in Azure DevOps Build Pipeline
Learn how to integrate SonarQube into your Azure DevOps build pipeline for continuous code quality checks. This tutorial walks you through the complete process—from installing and configuring SonarQube to setting it up in Azure Pipelines. Improve your project's code quality with this comprehensive, easy-to-follow guide! Perfect for developers and DevOps professionals.
Watch Video
Step 1
Download and Install Oracle Java
Download link = https://download.oracle.com/java/17/archive/jdk-17.0.10_windows-x64_bin.exe
Step 2
Download and Install SonarQube
Download link = https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-10.4.1.88267.zip
Step 3
Extract the contents of the zip file to C:\sonarqube-10.4.1.88267
Step 4
Set the SONAR_JAVA_PATH environment variable using CMD
set "SONAR_JAVA_PATH=C:\Program Files\Java\jdk-17\bin\java.exe"
Step 5
C:\sonarqube-10.4.1.88267\bin\windows-x86-64\StartSonar.bat