运行SonarQube扫描仪sonar-web-frontend IlligalStateException

时间:2016-11-14 15:57:23

标签: sonarqube sonar-runner sonarqube-scan

我正在使用commandLine中的sonar-web-frontend-plugin运行SonarScanner,它接收文件并运行并且我得到执行失败

ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: Report processing did not complete successfully
: FAILED

My sonar-project.properties look like this

# must be unique in a given SonarQube instance
sonar.projectKey=Test.UI
# this is the name displayed in the SonarQube UI
sonar.projectName=Test.UI
sonar.projectVersion=1.0

# Comma-separated paths to directories with sources (required)
sonar.sources=src/app

# exclude some files and folders (typically dependencies)
sonar.exclusions=bower_components/**/*, node_modules/**/*

# Encoding of the source files
sonar.sourceEncoding=UTF-8

enter image description here

2 个答案:

答案 0 :(得分:1)

您在SonarQube实例上安装了Build Breaker插件。

您的项目质量失败。

Build Breaker插件完成了它的工作,"打破了#34; (返回一个不成功的状态代码)你的构建。

答案 1 :(得分:0)

似乎是因为我还安装了默认的JS规则,它们不能并排存在。