Sonar Setup
Please follow below steps to configure the Sonar Server locally
# On Windows,
After login, you will see below the screen with empty projects :
Setting up a security token:
We need to generate the token which will be used by mvn projects to push the sonar reports to our server. generally, we follow this step to make sure that only authentic users push their sonar reports on our server.
1. Go to My Account
2. Navigate to Security
3. Enter the token name something like team name or project name and then click on the Generate button.
Copy this newly generated token for future purpose and store it somewhere as you will not be able to get it back from here.
Let’s go to our next tutorial where we will discuss below points :
– Integrate the JaCoCo plugin in the maven project
– Use JaCoCo reports to get Code Coverage
– Integrate JaCoCo Plugin with Sonar to push the Code Coverage