Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Fix Version/s: 2.0
-
Labels:None
-
Environment:Sonar Runner + Windows slave
-
Number of attachments :
Description
When running a sonar analysis on a Windows slave the command line looks like:
c:\jenkins\tools\Sonar_Runner\Sonar_runner_2.0\bin\sonar-runner.bat -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://192.168.0.13:3306/sonar?useUnicode=true&characterEncoding=utf8 ******** ******** -Dsonar.host.url=http://192.168.0.13:9000 "-Dsonar.projectBaseDir=c:\jenkins\workspace\Freestyle avec SCM" -Dsonar.projectName=Branding -Dsonar.projectVersion=1.0 -Dsources=src/main/java -Dsonar.projectKey=sonar:branding
But because of the & in the mysql jdbc URL it seems following parameters are ignored (in particular sonar.host.url).
Problem reported here: http://sonar.15.n6.nabble.com/sonar-dev-VOTE-Jenkins-Hudson-Sonar-Plugin-2-0-tp5004051p5004071.html
Issue Links
- links to
I have reported the issue to Jenkins.