SonarQube Integration with Jenkins
Step 1: Install SonarQube Scanner Plugin
- Go to Jenkins → Manage Jenkins → Manage Plugins
- Search for "SonarQube Scanner" in the Available tab
- Install and restart Jenkins
Step 2: Configure SonarQube Server in Jenkins
- Manage Jenkins → Configure System
- Scroll to SonarQube servers section
- Click Add SonarQube
- Name:
SonarQube - Server URL:
http://your-sonarqube-server:9000 - Server Authentication Token: (Generate from SonarQube → My Account → Security)
Next: Pipeline Example →
Official Jenkins Integration: SonarQube Jenkins Docs