When i run the jenkins task i get the following error
17:12:49.738 INFO - Sensor SCM Sensor...
17:12:49.847 INFO - SCM provider for this project is: svn
17:12:
In SonarQube v4, go to your project's dashboard and then to Project Configuration \ Settings (top right under the Search box).
Click the SCM Activity link in the Category list and change the "Activation of..." drop down to false.
You can change the default on the global settings page.
In Sonarqube server version Version 5.6.1 Click on Administration -> click on Configuration Dropdown and select General settings -> Click on SCM -> Select the true in Disable the SCM Sensor drop-down and save SCM settings(The default selected means is false).
Just add the property sonar.scm.disabled=true
into sonar-runner/conf/sonar-runner.properties
. I have just tested it with SonarQube 5.1.1
.
In the last release of Sonar (SonarQube v 5.0.1), property is set to true in order to deactivate the SCM Sensor. So choose "True" to disable SCM and solve this issue :)