SonarQube可以';找不到项目配置路径

SonarQube可以';找不到项目配置路径,sonarqube,sonar-runner,Sonarqube,Sonar Runner,有人知道怎么解决这个问题吗 C:\sonar-runner\bin\.. SonarQube Runner 2.3 Java 1.7.0_45 Oracle Corporation (64-bit) Windows Server 2012 6.2 amd64 INFO: Error stacktraces are turned on. INFO: Runner configuration file: C:\sonar-runner\bin\..\conf\sonar-runner.propert

有人知道怎么解决这个问题吗

C:\sonar-runner\bin\..
SonarQube Runner 2.3
Java 1.7.0_45 Oracle Corporation (64-bit)
Windows Server 2012 6.2 amd64
INFO: Error stacktraces are turned on.
INFO: Runner configuration file: C:\sonar-runner\bin\..\conf\sonar-runner.properties
INFO: Project configuration file: NONE
INFO: Default locale: "pt_BR", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Work directory: C:\sonar-runner\bin\.sonar
INFO: SonarQube Server 4.0
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 7.425s
Final Memory: 6M/31M
INFO: -----
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: You must define the following mandatory properties for 'Unknow
n': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
由于某些原因,SonarQube无法找到配置项目路径 它从信息中不返回任何内容。 我已经在sonar runner的conf路径中找到了该文件。

如果仔细阅读,您可以阅读:

Run the following command from the project base directory to launch the analysis:

最重要的部分是项目基础目录中的“”。这应该可以回答您的问题。

您需要在基本目录中添加项目配置文件


这是C:\sonar runner\bin重要提示:项目配置文件的名称必须为: “声纳项目.属性”(非声纳扫描仪.属性)

您必须从项目路径启动
sonar scaner
命令