while analyzing when I give sonar.branch.name=release it shows Release as short lived branch…How can I overcome this so that it shows release as long lived branch in drop-down in sonarcloud… see the below 2 screenshots
dev band release are long-lived branches
The name release doesn’t match the regex (branch|release|dev)-*,
release
(branch|release|dev)-*
Try to set the regex to (branch|release|dev)*.
(branch|release|dev)*
Thanks for the reply I will try this and reply you if it gets worked…
Please try to mention this in the documentation for the next release…
Setting the regex to (branch|release|dev)*. has actually worked for me and I can see the long-lived branches in the SonarCloud UI.