# Long-Lives branches

**URL:** <https://community.sonarsource.com/t/long-lives-branches/52620>\
**Category:** SonarQube Cloud\
**Created:** [November 4, 2021, 7:17am UTC](https://community.sonarsource.com/t/long-lives-branches/52620 "2021-11-04T07:17:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thierry\_Paret](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/thierry_paret/32/26244_2.png) [@Thierry\_Paret](https://community.sonarsource.com/u/Thierry_Paret)\
**Post date:** [November 4, 2021, 7:17am UTC](https://community.sonarsource.com/t/long-lives-branches/52620/1 "2021-11-04T07:17:04Z")

</div>

I’m looking for a way to add develop in the Long-lived branches

I changed the pattern to contain only develop, but it is still not present.

Any idea of a way to have main and develop as long lived branches

---

<div class="post-metadata">

**Author:** ![AlxO](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/alxo/32/3225_2.png) [@AlxO](https://community.sonarsource.com/u/AlxO)\
**Post date:** [November 10, 2021, 12:20pm UTC](https://community.sonarsource.com/t/long-lives-branches/52620/3 "2021-11-10T12:20:10Z")

</div>

Hi @Thierry_Paret ,

Could you share the configuration you’ve set?  
Also, did you run analyses after you changed the configuration?

Thanks,  
@AlxO

---

<div class="post-metadata">

**Author:** ![Thierry\_Paret](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/thierry_paret/32/26244_2.png) [@Thierry\_Paret](https://community.sonarsource.com/u/Thierry_Paret)\
**Post date:** [November 10, 2021, 12:35pm UTC](https://community.sonarsource.com/t/long-lives-branches/52620/4 "2021-11-10T12:35:43Z")

</div>

Hello Alex

I have : Long-lived branches pattern: develop

Yes, we did several analyses .

thierry

---

<div class="post-metadata">

**Author:** ![cba](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@cba](https://community.sonarsource.com/u/cba)\
**Post date:** [November 10, 2021, 6:00pm UTC](https://community.sonarsource.com/t/long-lives-branches/52620/5 "2021-11-10T18:00:39Z")

</div>

Hi Thierry,

Which version of SQ are you using?

With 8.1/8.4, the concept of short-lived and long-lived branches disappeared, and all branches are now long-lived and give you the full results.  
[https://docs.sonarqube.org/latest/setup/lts-to-lts-upgrade-notes/#header-2](https://docs.sonarqube.org/latest/setup/lts-to-lts-upgrade-notes/#header-2)

Before that, you need to delete the branch in SQ, then run a new analysis to turn a short-lived branch into a long-lived branch after changing the pattern.

---

<div class="post-metadata">

**Author:** ![Thierry\_Paret](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/thierry_paret/32/26244_2.png) [@Thierry\_Paret](https://community.sonarsource.com/u/Thierry_Paret)\
**Post date:** [November 11, 2021, 5:34pm UTC](https://community.sonarsource.com/t/long-lives-branches/52620/6 "2021-11-11T17:34:52Z")

</div>

I’m using [sonarcloud.io](http://sonarcloud.io)…
