| Auszug |
|---|
|
Nuclos Sonar: SonarCloud, sonar:sonar, SONAR_TOKEN, Java 17, branch, code analysis, coverage, Jenkins. |
Language: Deutsch · English
Sonar code analysis
Static code analysis with SonarCloud – mvn sonar:sonar, SONAR_TOKEN, Java 17 and branch analysis.
| Status |
|---|
| colour | Green |
|---|
| title | Updated: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | applies to Nuclos 4.2026.x |
|---|
|
A Sonar code analysis including coverage is available via the cloud (from v4.2024.13): sonarcloud.io. The analyses are produced by the nightly integration-test CI job for master.
Invocation
The Sonar settings in the Nuclos pom.xml add the analysis automatically:
| Warnung |
|---|
|
The Sonar Maven plugin requires Java 17. An upload requires a permission (environment variable SONAR_TOKEN). |
Developer branches
SonarCloud can distinguish Git branches. To focus the analysis on the branch changes, the call is extended (e.g. with -Dsonar.branch.name=$GIT_BRANCH, set by Jenkins). Sonar treats such branches as „short-lived“.
Related pages
Code coverage (JaCoCo)
Coverage.
Open →