Sonar Scanner: sonar-scanner-cli-5.0.1.3006-linux.zip
Sonar Version: Developer Edition 10.3.0.82913
Deployment: Installed in EC2. Not a docker.
Integrated: AWS Code Pipeline
Invoking Type: Java - MVN Sonar:Sonar & ReactJS Sonar-Scanner command.
New Code Baseline: Branch
Issues:
The count shown in the new code screen is not matching with the list of issues when clicked the number.
Issues are considered only from the latest commit. i.e. When scanned multiple times, previous issues are getting hidden from the new code section and the pipeline is passed without considering them.
Can someone help on how to address above issues. Let me know if further details needed.
Can you give an example? Screenshot(s) would be best.
This can happen if sonar.projectVersion is set to a new value on each analysis, and you have a New Code Period of Previous Version. Could this be happening in your project?