Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagebashtitleInvoke top-level Maven targets
 -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)

Image Modified

IDE analysis

For IntelliJ/Eclipse use SonarLint

...