How to integrate SonarQube & Jenkins | Jenkins SonarQube integration | Automate code scan in Sonar

Опубликовано: 11 Октябрь 2024
на канале: DevOps Coach
29,490
327

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