Hi Colin,
I’ve changed this parameter to ghprbSourceBranch and still,
after I do PR with changes in two classes(a few lanes changed), Sonar is detecting 417 new lines of code in multiple classes.
Additionally, what I observed, PR analysis is showing new lines of code that were already merged to master 1/2 days ago. I’ve verified all parameters and everything is set correctly.
Do you have any idea what might be the reason?
Analysis was run using these properties:
Project scanner properties:
sonar.projectKey=repo_key
sonar.pullrequest.base=develop
sonar.pullrequest.branch=FUL-XXXX
sonar.pullrequest.github.repository=repo
sonar.pullrequest.key=691
sonar.pullrequest.provider=GitHub
Sonar is showing the right PR, but the new lines are not matching with certain PR