mc1arke / sonarqube-community-branch-plugin

A plugin that allows branch analysis and pull request decoration in the Community version of Sonarqube
GNU Lesser General Public License v3.0
2.26k stars 526 forks source link

Scanning with the plugin does not show the author of the issue. #872

Closed jrroberth closed 8 months ago

jrroberth commented 9 months ago

Thank you, this plugin is incredible and very helpful for those of us who use the community version.

Bug Shows the issues but not the author.

sonar

To Reproduce I performed the scan from the Azure Devops pipeline.

Software Versions sonarqube-10.2.1.78527 sonarqube-community-branch-plugin-1.17.1.jar

Additional context When I do a local scan it works and shows the author.

mc1arke commented 9 months ago

When you say "When I do a local scan it works and shows the author.", can you clarify what this means? Is this you running the scanner on your local machine and reporting to your Sonarqube instance rather than a scan from your DevOps build pipeline?

Sonarqube not reporting author details implies that the SCM information isn't available to the scanner, so I'd need to see your scanner logs, possibly in debug mode, to work out what the sensors are doing. It would be worth checking that your build job is performing a checkout that retains your Git directories for the sensor to be able to read.

mc1arke commented 8 months ago

Closing as abandoned