Purpose:
The Purpose of this document is to demonstrate how to use SonarQube in our projects.
Step by step procedure to use SonarQube :-
Install Virtual Machine on Cloud , pull SonarQube image
docker image pull sonarqube:latest
Setup SonarQube on the browser
<public ipaddress>:<portnumber>
Download Sample Code and Analyze it on Sonar
create a project on sonarqube and generate token
Clone code from github and add sonar properties file to it.
Add that token to sonar properties file , along with it add project name and project id which are generated while creating project in sonarqube portal