We have a PL/SQL project that integrated with sonarcloud and its showing analysis successfull in pipeline for the master branch but the background task reporting on the sonarcloud dashboard fails with the following error:
Project or branch in report (project-key) does not match the project or branch under which it was submitted (project-key:BRANCH:master)
the same configuration works fine for the feature branches and PRs but background task failing when we raise PR to master branch and even failing direct analysis on master. Any help would be greatly appreciated.
ALM used: GitHub
CI system used : GitHub Actions
Languages of the repository: PL/SQL
The issue is resolved. The problem was with the Long-lived branches pattern which was set to master. It should be set to default (branch|release)-.* as the default branch is treated as a long-living branch.