Sonar-gerrit jenkins plugin doesn't leave a correct comment

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonar Qube Community Edition Version 8.9.8 (build 54436)
  • what are you trying to achieve
    Integrate with gerrit by using Sonar Gerrit plug-in

We are trying to get SonarQube feedback via Gerrit Code Review. gerrit triggers jenkins job when a commit is pushed and jenkins job triggers SonarQube running with Pull Request analysis strategy. We can see the report with the given url for example, https://{sonar_url}/dashboard?id={project.key}&{sonar.pullrequest.key}

However, the report is not getting reported to gerrit with a comment. We used to use 7.6 version with preview mode which works fine.

Do we have a known issue with sonar-gerrit plugin?


Hey there.

I would suggest reaching out to the maintainers at GitHub - jenkinsci/sonar-gerrit-plugin: Jenkins plugin for posting SonarQube issues as Gerrit review comments