【发布时间】:2014-02-07 20:56:33
【问题描述】:
正在学习如何使用 SonarQube 并正在通过 here 进行快速安装
一直到第 5 步。执行时我的构建失败: C:\sonar-runner\bin\sonar-runner.bat
我收到以下错误:
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 7.572s
Final Memory: 8M/223M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: You must define the following mandatory properties for 'Unknown': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
ERROR:
ERROR: To see the full stack trace of the errors, re-run SonarQube Runner with the -e switch.
ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging.
有人遇到过类似的情况并解决了吗?
【问题讨论】:
-
项目是什么语言? (Java、.net 等)
-
这是一个java项目。
标签: batch-file sonarqube