Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Fix Version/s: 2.0.1
-
Labels:None
-
Number of attachments :
Description
Sonar runner is configured to take root of the Jenkins job workspace as project home directory. When it is not the case (for example if you specify a folder name for the location of the checkout when using SVN) Sonar analysis will failed to find your project settings/sources.
Jenkins Sonar plugin should be more smart about the location of project home.
We are now using getModuleRoot() instead of getWorkspace() as root directory.