The SCM Sensor in the SCM settings in the Administration area is not deactivated => So the default value. I have added a SVN user and entered the password. The SVN user is the same user as for the jenkins-build server.
Is there anything else I have to do to enable this functionality?
Thank you very much
Igor
Edit: I’ve entered the value “svn” in the field “Key of the SCM provider for this project”
Now the build fails and I get the following error.
ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: Error when executing blame for file
Before you filled svn in for that setting, what if anything did your analysis logs say about retrieving blame information?
Also, are the SVN files present in your checked out project (SVN adds a directory containing its tracking files IIRC). Blame should be working automatically in your analysis based on those files.
without filling the “svn” setting I get the following log entry:
INFO: No SCM system was detected. You can use the ‘sonar.scm.provider’ property to explicitly specify it.
“Also, are the SVN files present in your checked out project (SVN adds a directory containing its tracking files IIRC). Blame should be working automatically in your analysis based on those files.”
=> This was the first issue. Thank you
But I had another issue. The blame didn’t work for a specific file. This file is above 1.5MB big.
I’ve excluded it from the analysis process.