We have a CI pipeline analysing our PRs. The same pipeline runs on all branches. Our release/x.xxx branches report everything perfectly and SonarCloud works great. However, on our branch named “integration”, our code tab displays “no results”, our Measures tab displays “No coverage measures.”, and our Issues tab is, unsurprisingly, also empty.
The scanner runs perfectly and the reports coming from the scanner appear to be correct. If I scan a branch with sonar.pullrequest.base=release/x.xxx, the PR analysis page is populated, but then if I run the scanner again with sonar.pullrequest.base=integration, the PR analysis page is blank. The logs from both scans are identical (apart from the base branch). In both cases, the background task is successful and the context appears to be identical.
Integration is our main branch and is in our long lived branches pattern. Branch analysis works fine on it - it’s just incoming PRs that don’t work.
Anyone got any ideas as to why this might be happening?