Release branch not showing as long lived branch

Template for a good new topic, formatted with Markdown:

  • ALM used: Azure DevOps
  • CI system used: Azure DevOps
  • Languages of the repository: C++, python

I have ‘master’ as my default branch created a ‘release’ branch of that. The release branch is a long lived branch.
I set the regex on the ‘branches’ page in the sonarcloud project to: (release)*

I would expect that the ‘release’ branch would show up as ‘long lived branch’ but somehow it remains under the short lived branches.

why doesn’t this work as expected?

Hey there.

Have you deleted the short-lived branch since adjusting the regex? A branch gets its “type” only when first created.

Ah, I didn’t know that. Deleting the branch indeed solved it. after a new scan the release branch showed up as long lived.
Thanks .

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.