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