Ligoj SonarQube QA plugin, an extending QA plugin 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
- Detect SonarQube API (
< 6,3
,>=6.3
and>=6.6
) for compatibility - Tested on all SonarQube versions from
4.0
to9.9.3
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 . |