We are working with Jenkins to execute SonarQube analysis. The source code repository is GitHub.In my own SonarQube projects, all issues has got an author. But some of my customers hasn’t got the list of authors nor the assignee.
I was digging the internet but did not find a solution, why it is not working for this project.
Do you see a warning like Missing blame information for the following files: ?
in your logs?
Maybe you have to play around with the –depth parameter, when checking out the project in Jenkins.
Since you don’t see blame data in your file margin, that tells me that SCM-integration, which is required for issue assignment, is disabled. The first place to look for that is in your project settings, via the UI.
Hi Ann
Thank you for your hint. I tried your setting but still no luck for one project. So I went again through the Jenkinsfile and figured out one difference. If I use the “git” check out, it works out of the box.
If I use the “scm” check out and the “Nested Choice of Objects” “CloneOption”, I have to set “shallow” to false.
So, the checkout is important and the SCM setting in SonarQube.
Thank you
Regards Raphael