Convert branch to long-lived branch

  • ALM used: Bitbucket Cloud
  • CI system used: Bitbucket Cloud
  • Languages of the repository: Java
  • Scanner command used: gradlew

I would like to move a short-living branch to a long-living type.
I understand that this will only be possible in the first scan, but can I just delete the branch that I need to move and let sonar move it in the next scan?

Is that a valid workaround? am I going to have any issues with that?

Hey there.

Yes, this is what we would recommend and you shouldn’t expect any issues.

Thanks @Colin
will do