Sonarqube报错解决方法

错误一:

ERROR: Error during SonarQube Scanner execution

org.sonar.java.AnalysisException: Please provide compiled classes of your project with sonar.java.binaries property

解决方法:sonar.java.binaries没写

Sonarqube报错解决方法_第1张图片

错误二:

WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succedeed?

ERROR: SonarQube scanner exited with non-zero code: 1

解决方法:配置一下scm和svn

Sonarqube报错解决方法_第2张图片

错误三:

ERROR: Error during SonarQube Scanner execution

org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube

解决方法:Jenkins上的SonarQube servers配置不正确


Sonarqube报错解决方法_第3张图片

其他错误:

(1)JDK版本不对,解决方法是修改sonarqube-7.1/conf目录下的wrapper.conf文件

你可能感兴趣的:(Sonarqube报错解决方法)