SonarQube Developer Edition branch and pull request “new issues” aren’t new

Hello we are using SonarQube™ Developer EditionVersion 9.8 (build 63668) with Azure Devops.

In my pipeline I use the following SonarQube Prepare:
Task : Prepare Analysis Configuration Version: 5.9.0

sonar.exclusions= **/TelerikWinform/*.*,**/bootstrap/**/*.*, **/Scripts/**/*.js,**/APropos.xml,**/*.generated.*,**/*.sql,**/*.SQL,**/*.Sql

I do find the analysis in sonarqube with the right PR-ID marked as for merge into .
Nonetheless, the analysis trigger some Minor issues (but not all minors issues) that are already existing in the target branch. Some PR will also have false positive in other category as Critical or Major.

Strangely, I can affirme that the issues that are triggered are not inside files that has been modified by my PullRequest, which cause funny comment from Sonar on the pull request : “This file no longer exists in the latest pull request changes. It may have been moved or deleted.[View the comment in its original context.]”

To check the diff from the target branch, I used the git command: git diff --name-only origin/<the right branch> .

Is this a known issues ? Do I miss something in my config ?

Speaking of PR analysis, is there a way to known the issues from the target branch solved in a PR ? (bonus question)


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.8 → 9.9.3 → 10.3 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.