jenkins - is sonar multi-module broken? -
trying make multi module project dowloaded samples in github: use folder https://github.com/sonarsource/sonar-examples/tree/master/projects/multi-module/sonar-runner/java-sonar-runner-modules-own-configuration-file project base dir
in command line in folder, type /opt/sonar-runner/bin/sonnar-runner
first thing find sonar-project.properties has property named sonar.sources=src, executing throws
exception in thread "main" org.sonar.runner.runnerexception: must define mandatory properties: sources
then correct property sources=src , runner execution finish, adds project sonar server, no code, modules or file detected. if project empty.
it same other examples , own project. no matter if java, python...
any welcome
you using old version of sonar runner and/or sonar. please update latest versions (sonar runner 2.2 , sonar 3.5.1).
Comments
Post a Comment