Getting below warnings while running the TFS builds.
WARN: SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to define SCM of your project.
15:58:00.978 WARN: Metric ‘test_success_density’ is an internal metric computed by SonarQube. Provided value is ignored.
SCM provider detection relies on the data files each provider leaves in a project. For instance, I’m looking at a project right now that has a .git directory in the root. Do the correct files for your SCM provider exist in the root of the project you’re analyzing?
Your errors indicate that you don’t have a plugin installed to support your use of TFVC. In fact, a TFVC plugin is available from the community, but it has not been updated to be compatible with SonarQube 7.3.
Analysis should run fine with the autodetection warning, you just won’t get automatic assignment of new issues.
Thanks for the quick response. Our analysis runs fine, but warnings in red text are not appreciated by some colleague.
I am also getting the next two warnings in red text (in TFS and in the build mails from TFS):
WARN: Metric ‘comment_lines_data’ is deprecated. Provided value is ignored.
WARN: Access to the multi-values/property set property ‘sonar.typescript.eslint.reportPaths’ should be made using ‘getStringArray’ method. The SonarQube plugin using this property should be updated.
Also with these warnings the analysis is running fine, but is there a way to remove these two warnings?