Error in jenkins during sonar analysis caused by svn blame

后端 未结 4 2157
遇见更好的自我
遇见更好的自我 2021-02-13 15:46

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:         


        
相关标签:
4条回答
  • 2021-02-13 16:05

    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.

    enter image description here

    You can change the default on the global settings page.

    0 讨论(0)
  • 2021-02-13 16:11

    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).

    0 讨论(0)
  • 2021-02-13 16:12

    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.

    0 讨论(0)
  • 2021-02-13 16:17

    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 :)

    0 讨论(0)
提交回复
热议问题