Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
I am using SonarQube developer edition * Version 8.2 (build 32929). I am using Cake script to run the sonar analysis using MSBuild sonar scanner. My SCM is GIT with Gerrit code review system.
I am trying to achieve PR analysis for each check-in created by the developer for a branch in Gerrit.
I configuration of servers as below:
One master jenkins, 1 Sonar server with DB, 6 slaves with MSBuild scanners. When a developer made a check-in build will be triggered from Jenkins using Gerrit trigger plug-in, and select any of the above 6 slaves and start build. This calls a Cake script and that have sonar inputs for PR as:
PullRequestKey = 55724,
PullRequestBranch = changes/24/55724/6,
PullRequestBase = “develop”,
I am not getting the correct details in the final analysis results. Its showing lot of files instead the files checked in in the gerrit ref ‘changes/24/55724/6’
Can I get help on this?