kvrocks
kvrocks copied to clipboard
SonarCloud analysis run on unstable branch has wrong `New issues` num
Refer: https://github.com/apache/kvrocks/runs/20889223274
Here are some clues. The "new code" displayed on SonarCloud is based on the code from November 23rd. How can we adjust it?
https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/analysis-parameters/
Maybe we need to set sonar.newCode.referenceBranch
?
We can consider the code from the last release version(now 2.7) to the newest commit as the new code.
Add PR #2147