https://github.com/ligoj/plugin-qa-sonarqube
Ligoj QA plugin for SonarQube : rate and issues
https://github.com/ligoj/plugin-qa-sonarqube
ligoj ligoj-plugin sonarqube
Last synced: about 1 year ago
JSON representation
Ligoj QA plugin for SonarQube : rate and issues
- Host: GitHub
- URL: https://github.com/ligoj/plugin-qa-sonarqube
- Owner: ligoj
- License: mit
- Created: 2017-03-26T18:53:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T08:35:40.000Z (over 1 year ago)
- Last Synced: 2025-04-13T21:12:09.170Z (about 1 year ago)
- Topics: ligoj, ligoj-plugin, sonarqube
- Language: Java
- Homepage:
- Size: 127 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :link: Ligoj SonarQube plugin [](https://maven-badges.herokuapp.com/maven-central/org.ligoj.plugin/plugin-qa-sonarqube)
[](https://sonarcloud.io/dashboard?id=org.ligoj.plugin%3Aplugin-qa-sonarqube)
[](https://sonarcloud.io/dashboard/index/org.ligoj.plugin:plugin-qa-sonarqube)
[](https://www.codefactor.io/repository/github/ligoj/plugin-qa-sonarqube)
[](http://fabdouglas.mit-license.org/)
[Ligoj](https://github.com/ligoj/ligoj) SonarQube QA plugin, an
extending [QA plugin](https://github.com/ligoj/plugin-qa)
Provides the following features :
- Metrics (when available): `ncloc`, `coverage`, `sqale_rating`
- List of branches with theirs measures, and links
- Compatible with SonarQube Enterprise, SonarQube Community with or
without [sonarqube-community-branch-plugin](https://github.com/mc1arke/sonarqube-community-branch-plugin)
- Detect SonarQube API (`< 6,3`, `>=6.3` and `>=6.6`) for compatibility
- Tested on all SonarQube versions from `4.0` to `9.9.3`
# Plugin parameters
| Parameter | Default | Note |
|-----------------------------------|-------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| service:qa:sonarqube:metrics | `ncloc,coverage,sqale_rating` | For 6.3+ API, `security_rating,reliability_rating,security_review_rating` metrics are added. |
| service:qa:sonar:max-branches | `10` | Maximum displayed and retrieved branches. Main branch is always retrieved, the other branches are sorted by last activity. Only for `6.6+` API. |
| service:qa:sonar:metrics-branches | `ncloc,coverage,sqale_rating` | Retrieved and displayed metrics of each branch. By default, the same as the main metrics. When non-empty, one API call is executed per branch. |
| service:qa:sonar:user | | SonarQube's username. Can be any string when password is a SonarQube API token. |
| service:qa:sonar:password | | SonarQube's password. Only API tokens prior 9.3 (generic) and 9.3+ of type `user` and `global` are supported. This parameter is encrypted in database. |
| service:qa:sonar:project | | Linked project identifier. May be an integer or a string depending on the SonarQube API version. |
| service:qa:sonar:url | | SonarQube base URL. For sample `http://localhost:9000`. |