错误一:
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没写
错误二:
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
错误三:
ERROR: Error during SonarQube Scanner execution
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube
解决方法:Jenkins上的SonarQube servers配置不正确
其他错误:
(1)JDK版本不对,解决方法是修改sonarqube-7.1/conf目录下的wrapper.conf文件
网友评论