SonarQube doesn't recognize branch name in version 10.6 when using Jenkins Pipelines

I have created the topic https://community.sonarsource.com/t/sonar-scanner-not-working-after-upgrade-sonarqube-from-9-to-10-6/127463/6