We’re using SonarQube Developer Edition 8.4.1 and SonarScanner 184.108.40.2062.
I’ve tried to change the “New Code” Analysis to point to reference Branch “Develop” (main branch) like documented here: https://docs.sonarqube.org/latest/project-administration/new-code-period/
When an analysis for a Feature Branch is performed, I see the following Error
“The scanner failed to compute New Code. Please check your scanner logs.”
Nevertheless there are no errors in the logs. It only shows up
2020.09.07 23:16:33 INFO ce[AXRq21OECwyxeiLQxQrS][o.s.c.t.s.ComputationStepExecutor] Compute new coverage | status=SUCCESS | time=73ms
“Develop” Branch was configured to use “previous analysis” for new code so there is no error.