Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

0 votes
Answer accepted

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




0 votes

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
AUG Leaders

Atlassian Community Events