ソナースタンドアロンanalisysを呼び出すには、すべてのプロジェクトプロパティを構成する必要があります。あなたはそれをしますか?ここに例があります:
# required metadata
sonar.projectKey=yourapp:YourApplication
sonar.projectName=YourApplication
sonar.projectVersion=1.0
# path to source directories (required)
sonar.sources=yourApplication/JavaSource
# path to test source directories (optional)
sonar.tests=test
# path to project binaries (optional), for example directory of Java bytecode
sonar.binaries=YourApplication/build/classes/main
# optional comma-separated list of paths to libraries. Only path to JAR file and path to directory of classes are supported.
#sonar.libraries=path/to/library.jar,path/to/classes/dir
# The value of the property must be the key of the language.
sonar.language=java
sonar.dynamicAnalysis=reuseReports
#Surefire reports
sonar.surefire.reportsPath=yourApplication/build/test-results
sonargraph.prepareForSonar=true
# Additional parameters
#sonar.my.property=value
sonar / jenkinsのバージョンのベースでは、この構成は少し異なるはずです。次に、Sonarの基本構成を変更しない場合は、user = sonar、password=sonarを設定する必要はありません。