https://www.coachdevops.com/2020/04/h...
Here below are the steps for integrating SonarQube with Jenkins:
Pre-requisites:
Make sure SonarQube is up and running and do the below steps:
Make sure Sonarqube plug-in installed in Jenkins
1. Create Token in SonarQube by logging as an administrator
2. Copy the token and register sonarqube info in Jenkins
3. Use maven goal as sonar:sonar
4. kick start the job to run scan