声纳解析测试结果

时间:2016-07-11 23:38:39

标签: jenkins groovy sonarqube sonarqube-scan

我正在进行一个时髦的项目。我试图在Sonar上生成cobertura报告。 但是我遇到了测试结果的问题。 它给出了一个错误,说

Sensor GroovySurefireSensor...
**parsing** /home/jenkins/workspace/myproject/build/test-results
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
WARN  - Resource not found: xxx.xxx.myproject.xxx.xxx
INFO  - Sensor GroovySurefireSensor done: 12 ms

仅供参考:我能够在SonarQube上生成Cobertura报告和测试报告,但技术债务和问题显示"零"

这是我的声纳项目属性:

sonar.projectKey=myproject

sonar.projectName=myproject

sonar.projectVersion=1.0

sonar.sources=src/main

groovy.sonar.tests=src/test

sonar.language=grvy

sonar.sourceEncoding=UTF-8

sonar.surefire.reportsPath=build/test-results

sonar.junit.reportsPath=build/test-results

sonar.groovy.cobertura.reportPath=build/reports/cobertura/coverage.xml

有什么建议吗?

0 个答案:

没有答案