Install SonarQube in Windows | Docker.

Simple steps to install SonarQube in windows or docker. Create and test different type of project and integrate in Azure/ Jenkins Pipeline..

I have set up the SonarQube in Azure VM and published it to live IP. You can also set it up locally and test it over there it will serve requests on localhost. The majority of servers like this are used on-prem.

We can also run inside a docker container. Command:

docker run -d --name <container-name> -p 9000:9000 sonarqube:lts-community

Step 1: Download Setup. 

Step 2: Create Environment Variable 

 

Step 3: Head to the "bin\windows-x86-64" directory of the SonarQube folder. Run StartSonar.bat file.

 

Step 4: Open URL: http://localhost:9000/  

Default Username/Password: admin/admin 

 

More Info:

If the port is occupied by another process update it in the "sonarqube\conf\sonar.properties" file.


Next: Setup SonarQube in Azure DevOps Pipeline ->

 

Post a Comment