SonarQube Server Integration
The Oobeya–Sonar Integration connects SonarQube Server and SonarQube Cloud with Oobeya’s Engineering Intelligence Platform, turning code quality and security data into actionable insights.
Delivering high-quality software requires continuous attention to code reliability, security, and maintainability. By integrating SonarQube Server with Oobeya, your teams gain end-to-end visibility into code quality, technical debt, and maintainability trends — all in one place.
1. Generate a SonarQube Server User Token
A User Token allows Oobeya to connect to your SonarQube Server instance and retrieve project data securely.
Steps:
Log in to your SonarQube Server account.
Click your user avatar (top-right corner) → select My Account → open the Security tab.
Under Generate Tokens, enter a token name (e.g.,
oobeya-integration).Select "User Token" as token type.
Click Generate.
Copy and store the token securely — it’s shown only once.

2. Install the SonarQube Add-on in Oobeya
Log in to Oobeya with an Administrator account.
Navigate to Integrations.
Locate SonarQube and click Install.

Once installed, the SonarQube connector becomes available in your Data Sources list.
3. Add a SonarQube Data Source
Go to Data Sources → SonarQube.
Click New Data Source.
Fill out the form:
Name: (e.g.,
SonarQube – Production)Base URL: Your SonarQube server address (e.g.,
https://sonar.company.com)User Token: Paste the token you generated earlier
Click Test Connection to verify access.

4. Explore Your Code Quality Insights
After integration, Oobeya continuously imports your SonarQube metrics, including:
Code Quality Issues (Bugs, Vulnerabilities, Code Smells)
Quality Gate Status
Technical Debt
Maintainability, Reliability, and Security Ratings
You can explore this data in:
Dashboards — for overall visibility

Organizational, Team, and Individual Scorecards — to track trends and KPIs

Engineering Insights / Symptoms — to proactively detect unhealthy code practices - learn more here.

Gamification - learn more here.

5. Troubleshooting
If your connection test fails or data is missing, review the following checks:
401 Unauthorized
Invalid or expired token
Regenerate a valid User Token and update the Data Source.
Connection Timeout
Firewall or proxy blocking requests
Ensure outbound access to your SonarQube server from Oobeya’s network.
No Projects Found
Token lacks permissions
Verify the token user has project “Browse” or “Admin” permissions.
SSL Error
Invalid SSL certificate
Use a valid SSL certificate or enable trusted certificate configuration.
Data Outdated
Sync delay or rate limit
Trigger a manual re-sync or check your SonarQube server performance.
💬 Still need help? Contact Oobeya Support or reach out to your Customer Success Manager.
Summary: Connect in 5 Steps
1
Generate a User Token in SonarQube
Secure authentication
2
Install the SonarQube Add-on in Oobeya
Enable integration
3
Add a Data Source
Connect Oobeya to your SonarQube server
4
View Dashboards and Scorecards
Monitor real-time code quality
Last updated
Was this helpful?