Bamboo build branches from 'releases' and 'branches' folders

I'm using Bamboo with svn, and some of my projects have a layout like:

  • trunk
  • tags
  • releases: contents are release branches in the form product-x.y.z
  • branches: contents are non-release franches, ie: my_feature, JIRA-123_bla_bla

How can I configure Bamboo to build branches from both releases/.* and branches/.*


2 answers

1 accepted

This widget could not be displayed.

The regex does not seem to be respected. I have filed a ticket for this at Please follow it for updates




This widget could not be displayed.

Hello Xabier,

The Source Code Checkout task allows checking out from a one directory at a time. So if you want to checkout from 'releases' and from 'branches' in the same build plan, you'd better use a Script task where you can execute the 'svn checkout' twice, one for 'releases' and the other for 'branches'.

However, if you want to use plan branches for 'releases' and 'branches' you can follow these steps:

  1. Go to the Branches tab in the configuration pages for the plan you wish to branch.
  2. Check Create plan branches for branches detected in the repository.
  3. Enter a regular expression like this:

If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.

Thanks in advance!

Kind regards,
Felipe Kraemer

Hi Felipe, Plan branches doesn't work if I try {{http://svn/path/to/project}} and this regex: {{(branches|releases)/.*}} I also tried Tried different combinations of the URL (with/without trailing slash) and regex: (branches/.*|releases/.*), with the same results I get an error: "An unexpected error occurred trying to detect VCS branches" and cannot see anything in the logs

Actually, tried again in a new plan, new repo. I get offered "branches, trunk, tags and releases" as my branches in Bamboo, that is, the contents of http://svn/path/to/project, instead of the contents of "branches" and "releases"

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

168 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you