美文网首页
Sonarqube报错解决方法

Sonarqube报错解决方法

作者: 安静的冰棒 | 来源:发表于2018-11-09 11:02 被阅读0次

错误一:

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文件

相关文章

网友评论

      本文标题:Sonarqube报错解决方法

      本文链接:https://www.haomeiwen.com/subject/ovvnxqtx.html