2013-11-14 2 views
1

누구나이 문제를 파악하는 방법을 알고 있습니까? SonarQube가 구성 프로젝트 경로 [정보로부터 반환 NONE을 찾을 수없는 몇 가지 이유를 들어 SonarQube가 프로젝트 구성 경로를 찾을 수 없습니다.

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 

. 이미 sonar-runner의 conf 경로에 파일이 있습니다.

답변

4

주의 깊게 doc page "Analyzing with SonarQube Runner" 읽는다면, 당신은 읽을 수

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

가장 중요한 부분은 "프로젝트의 기본 디렉토리에서"입니다. 귀하의 질문에 대한 대답입니다.

-1

프로젝트 구성 파일을 기본 디렉토리에 추가해야합니다. \ 소나 주자 \ 빈

: C이다

관련 문제