You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

branches-faq.md 2.1KB


title: Branch FAQ

url: /branches/branches-faq/

Branch analysis is available starting in Developer Edition.

How long are branches retained?

Branches will be deleted automatically when they are inactive according to your settings at Administration > Configuration > General Settings > Housekeeping > Number of days before deleting inactive branches except for branches you have set to be kept when inactive. These branches are kept until you delete them manually at the project level at Project Settings > Branches & Pull Requests. See the Branches Analysis for more information on keeping inactive branches.

Does my project need to be stored in an SCM like Git or SVN?

No, you don’t need to be connected to a SCM. However, SCM data still enhances the SonarQube experience (including issue auto-assignment and issue backdating), and you will be well prepared to take advantage of Pull Request Analysis!

What if I mark an Issue “Won’t Fix” or “False-Positive” in a branch?

It will be replicated as such when creating a pull request and merging the pull request into the main branch.

If you’re using the Reference Branch New Code definition, issues in the reference branch that come from a feature branch automatically inherit their attributes (including “Won’t Fix” and “False Positive” resolutions) from the feature branch.

Can I manually delete a branch?

You can delete a branch in the Branches tab at Project Settings > Branches and Pull Requests.

Does the payload of the Webhook include branch information?

Yes, an extra node called “branch” is added to the payload.

When are Webhooks called?

When the computation of the background task is done for a given branch.

What is the impact on my LOCs consumption vs my license?

The LOC of your largest branch are counted toward your license limit. All other branches are ignored.