Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Labels:None
-
Environment:Environment: Windows Server 2003
Hudson - 2.2
Sonar - 2.13
Hudson-Sonar Plugin - 1.8 fails, 1.72 works
-
Number of attachments :
Description
I am using the Standalone Sonar analysis by adding it as a build step and it was working perfectly with plugin v 1.7.2. After updating to 1.8 the Sonar analysis has stopped working. The following message is displayed whenever the build task gets to Sonar.
[workspace] $ java -cp E:\HudsonHome\jobs\projectname\workspace\sonar-runner1567324001315970448.jar;E:\HudsonHome\jobs\projectname\workspace\sonar-batch-bootstrapper1989682622024136145.jar org.sonar.runner.Main -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?autoReconnect=true&useUnicode=true&characterEncoding=utf8 ******** ******** -Dsonar.host.url=http://localhost:8080/sonar -Dsonar.projectName="PROJECT_NAME" -Dsonar.projectVersion=1.0 -Dsources=src -Dsonar.projectKey=sdk Unrecognized option: -Dsonar.jdbc.driver=com.mysql.jdbc.Driver usage: sonar-runner [options] Options: -h,--help Display help information -X,--debug Produce execution debug output -D,--define <arg> Define property
If I now downgrade the plugin to 1.7.2 and run the build the analysis is done perfectly.
Kindly tested by Fabrice