Our branch structure is as follows:
A main branch that we create releases from - “integration”
A set of team branches that we merge into integration - “team1”, “team2”, etc
Feature branches that we create per-ticket and merge into our respective team branch.
I’m currently trialling a migration to SonarCloud, and have created examples of these - integration and team branches as long-lived branches, feature branches as short-lived.
My feature branch is showing in the SonarCloud UI as having been created from integration, when actually it was created from a team branch.
How does SonarCloud detect source branches, and how can I resolve this issue with my setup? The true state of things is that team branches were created from integration, and feature branches were/are/will be created from team branches, and we’d need SonarCloud to reflect that.