私のようなエラーを取得しています:誰もがそのエラーについて知っている場合は親切に私を助けてSonarqubeインストール
"E:\Heena\Software\sonar-scanner\bin..
INFO: Scanner configuration file: E:\Heena\Software\sonar-scanner\bin..\conf\so nar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner 2.8
INFO: Java 1.8.0_101 Oracle Corporation (64-bit)
INFO: Windows 7 6.1 amd64
INFO: User cache: C:\Users\ADMIN.sonar\cache
INFO: Load global repositories
INFO: Load global repositories (done) | time=779ms INFO: User cache: C:\Users\ADMIN.sonar\cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=35ms
INFO: SonarQube server 5.6.3
INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is platform dependent)
INFO: Process project properties
INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------ INFO: Total time: 11.028s
INFO: Final Memory: 39M/84M
INFO: ------------------------------------------------------------------------ ERROR: Error during SonarQube Scanner execution
ERROR: You must define the following mandatory properties for 'Unknown': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging . E:\Heena\Software\sonar-scanner\bin>"
。私はWindows 7 OSを使用しています。
ERROR: You must define the following mandatory properties for 'Unknown': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
分析は、このような何かを起動する必要がありそうです:ここ
> sonar-runner -Dsonar.projectKey=myProjectKey -Dsonar.projectName="My Project" -Dsonar.projectVersion=1 -Dsonar.sources=.
詳細情報: Analysis Parameters - SonarQube Documentation - SonarQube
そして、ここで: Analyzing with SonarQube Scanner - Scanners - SonarQubeログメッセージを見てみると
これは 'git'の質問ですか? – JARO
いいえ、それは実行中のsonarscannerに関するものでした。されております。混乱は、私がsonarqubeに関するすべてのフォルダをCに入れたときに動作し、別のディレクトリから上記のerroeを試してみたとき –