Hi there,
SonarQube 8.9.6 and sonarqube-scanner 4.7.0 are the versions that I’m using.
I am trying to trigger Gerrit pull request analysis on SonarQube by following the instructions on the page https://plugins.jenkins.io/sonar-gerrit/.
We are working on a use case that requires integrating Gerrit with sonarqube via Jenkins. For the same purpose we created a jenkins job that gets triggered as in when a PR is raised on Gerrit.
We are not using pull request decoration, instead we do it via jenkins by modifying the sonar-project.properties.
The sonar Scanner runs the analysis on the patchset and submits report to SonarQube server as Pull-request analysis.
The PR analysis reports code smells on files not related to the current patchset.
(mentioned as 79 on the attached screenshot)
Can you please suggest us what configurations are supposed to be added/modified in order for us to report only the code smells corresponding to the pull request changes?
