I am getting the warning Missing blame information for the following files
during analysis by SonarQube.
[INFO] [22:19:57.714] Sensor SCM Sensor[INFO] [22:19:57.715] SCM provider for this project is: git[INFO] [22:19:57.715] 48 files to be analyzed[INFO] [22:19:58.448] 0/48 files analyzed[WARN] [22:19:58.448] Missing blame information for the following files:(snip 48 lines)[WARN] [22:19:58.449] This may lead to missing/broken features in SonarQube[INFO] [22:19:58.449] Sensor SCM Sensor (done) | time=735ms
I am using SonarQube 5.5, analysis is done by Maven in a Jenkins job, on a multi-module Java project.Git plugin 1.2 is installed.
Manually running git blame in a bash shell, on any of the offending files, gives an expected output.
Related questions I found were all about SVN, my issue is with Git.
How do I get git blame information on Sonarqube?