"The scanner failed to compute New Code"

Thanks.
You need to upgrade the sonar-scm-git plugin to v1.12.0.2034. In v1.11 the feature wasn’t implemented yet.