SonarBridge links GitLab and SonarQube to show code quality in merge requests.
414
SonarBridge is a lightweight TypeScript service that connects GitLab and SonarQube to bring code quality insights directly into your merge requests.
It is designed to run after your SonarQube analysis in a GitLab CI/CD pipeline, collect key metrics, and publish a clear, actionable report on each merge request.
Example in a .gitlab-ci.yml:
sonarbridge:
image: nivekaacom/sonarbridge:latest
script:
- sonarbridge
Make sure your pipeline already runs a SonarQube analysis before this step.
| Variable | Description |
|---|---|
SONAR_HOST_URL | SonarQube server URL |
SONAR_TOKEN | SonarQube authentication token |
GITLAB_TOKEN | GitLab API token |
CI_PROJECT_ID | GitLab project ID |
CI_MERGE_REQUEST_IID | Merge request ID |
Contributions, issues, and feature requests are welcome!
MIT License (or your preferred license)
Content type
Image
Digest
sha256:3fccb240b…
Size
56.4 MB
Last updated
7 months ago
docker pull nivekaacom/sonarbridge