2017-04-18 9 views
0

私はSonar-runner-dist 2.4でSonarQube 5.1.2を使用していましたが、Sonar-Scanner-2.6.1と共にSonarQubeを6.0にアップグレードする必要があります。Sonar-Scanner-2.6.1 with Sonar-Scanner-2.6.1 MYSQLによるCofinguration

私は取得していますなぜわからない

SonarQube 6.0で必要な変更を、私はSonarQube 5.1.2のためのMySQLを使用していたが、私はSonarQube私はこのエラーを取得しています6.0にアップグレードした場合、誰かがどのようにエラーを無効にするために私を助けることができるし、何

警告:プロパティ 'sonar.jdbc.username'はサポートされていません。それは無視されます エド。 SQデータベースへのDB接続はなくなりました。

完全なエラー・ログ

WARN: sonar-runner.bat script is deprecated. Please use sonar-scanner.bat instea 
d. 
D:\Softwares\SonarQube_old\sonar-scanner-2.6.1\sonar-scanner-2.6.1 
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true 
INFO: Scanner configuration file: D:\Softwares\SonarQube_old\sonar-scanner-2.6.1 
\sonar-scanner-2.6.1\conf\sonar-scanner.properties 
INFO: Project root configuration file: NONE 
INFO: SonarQube Scanner 2.6.1 
INFO: Java 1.8.0_111 Oracle Corporation (32-bit) 
INFO: Windows 7 6.1 x86 
INFO: User cache: C:\Users\391007\.sonar\cache 
INFO: Load global repositories 
INFO: Load global repositories (done) | time=124ms 
WARN: Property 'sonar.jdbc.url' is not supported any more. It will be ignored. T 
here is no longer any DB connection to the SQ database. 
WARN: Property 'sonar.jdbc.username' is not supported any more. It will be ignor 
ed. There is no longer any DB connection to the SQ database. 
WARN: Property 'sonar.jdbc.password' is not supported any more. It will be ignor 
ed. There is no longer any DB connection to the SQ database. 
INFO: User cache: C:\Users\391007\.sonar\cache 
INFO: Load plugins index 
INFO: Load plugins index (done) | time=9ms 
INFO: SonarQube server 6.0 
INFO: Default locale: "en_US", source code encoding: "windows-1252" (analysis is 
platform dependent) 
INFO: ------------------------------------------------------------------------ 
INFO: EXECUTION FAILURE 
INFO: ------------------------------------------------------------------------ 
INFO: Total time: 2.553s 
INFO: Final Memory: 40M/96M 
INFO: ------------------------------------------------------------------------ 
ERROR: Error during SonarQube Scanner execution 
ERROR: Unable to register extension com.sonar.governance.task.A.A from plugin 'g 
overnance' 
ERROR: Caused by: Lorg/sonar/batch/bootstrap/BatchWsClient; 
ERROR: Caused by: org.sonar.batch.bootstrap.BatchWsClient 
ERROR: 
ERROR: To see the full stack trace of the errors, re-run SonarQube Scanner with 
the -e switch. 
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging 

「私は、回答の下に言及しているが、私はこの問題

https://stackoverflow.com/a/35231407/3973543

答えて

1

を解決するためのソリューションを取得していない午前WARN:プロパティ「sonar.jdbcを。 5.6 sonar.jdbc.url、sonar.jdbc.username、sonar.jdbc.passwordはジェンキン側ではもう必要ではないので、url 'はこれ以上サポートされていません。 sonarqube DataBaseはsonarqubeインスタンスからのみアクセスでき、クライアントからはjenkinsとしてアクセスできません。だから今は空にしておくべきです。 WS接続用のsonarqubeインスタンスURLを入力してください。

ガバナンスプラグインは現在、商業である、あなたは

+0

私はところで、ここでWS接続 – Batman

+1

何であるか、このいずれかをしようと確かにそれを使用するためのライセンスをレジストリに持って、ガバナンスは_always_商用されています。 :) –

+0

書き込み時点で、ガバナンスプラグインはまだSonarQubeの6.xシリーズと互換性がありません。アンインストールする必要があります。詳細についてはSonarSourceサポートチームにお問い合わせください。 –