I configured a Jenkins Main Project P
to manage two git repository A
and B
. This main project P
only updates git sources and calls sonar analysis on sources from his workspace.
Here's my tree folder.
{Jenkins Install Path} \ workspace \ P
|-- A
|-- .git/
|-- all projects A files
|-- B
|-- .git/
|-- all projects B files
When Jenkins runs sonar analysis for P
, I got the following error
SCM provider for this project is: git
2664 files to be analyzed
0/2664 files analyzed
Missing blame information for the following files:
(all files)
The error is logical because SonarQube is looking for a .git
folder under {Jenkins Install Path} \ workspace \ P
. It doesn't exist.
I looked around the internet to find a solution but I didn't find an answer. I am using SonarQube 5.5 installed on windows.
Do you have some idea to make SonarQube working with my configuration ?
This case is different than Sonarqube: Missing blame information for the following files because the root cause is I am using two git folder fetch by a single SonarQube analysis.
Sources I visited and read several times