Table of Contents |
---|
...
For pull request we don't want to upload the result to sonar but we wan't to check quality gates&etc so use preview mode
Code Block | ||||
---|---|---|---|---|
| ||||
-Dsonar.analysis.mode=preview |
...
Jenkins is configured to use SonarQube.com (uses token GLESYS_JENKINS in sonarqube.com for uvms github user)
(extra options: -Dsonar.organization=uvms-github -Dsonar.exclusions=**/apidocs/** -Dsonar.dynamicAnalysis=reuseReports)
IDE analysis
For IntelliJ/Eclipse use SonarLint
...