Yes, we generate junit and jacoco coverage report before calling sonar maven plugin. Also keep in mind that this is jenkins build, and when we are targeting exactly same build to sonar cloud instead of sonar developer edition it works correctly. I can provide verbose maven logs or any other additional information you need. Please post where should I send them.
It looks like the problem is that no new lines are being detected as modified in the SLB or P/R.
Could you please post the scanner logs with debug enabled?
Thanks, all for your answers. After careful reading environment settings, i found that server was configured with sonar.scm.disabled=true. This was root cause of issue. After making sonar.scm.disabled=false (default), everything is working as expected.
By the way is " mvn -X -Dsonar.verbose=true … " is the correct way to enable verbose logs for sonar runner?