Pipeline failure on deploy-to-sonar stage – Default branch not found in SonarQube
The CI/CD pipeline is currently failing at the deploy-to-sonar stage due to the following error:
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project JTango-root: Could not find a default branch for project with key 'org.tango-controls:JTango-root'. Make sure project exists. -> [Help 1]
Possible cause: It seems that the SonarQube project org.tango-controls:JTango-root either does not exist or is missing a configured default branch.