How do I branch in bamboo with subversion

I created a branch manually in svn, and would like to add a similar branch in bamboo. How do I set up the branch path such that the build only occurs when changes in the branch happen? I only see 2 fields: "Display Name" and "Branch Description". Where do I set up the svn dir to point to the branch? Does babmboo assume the "Display Name" is the branch name as well?

2 answers

Hello AmitB,

No, Bamboo does not assume "display name" == branch-in-the-svn. AFAIK to setup a branch build with SVN repository you need to:

* go to the plan 'branches configuration' page, hit [create branch] button

* display name = however you would like the branch to be seen in Bamboo - I'd recommend using last chunk of svn path

* branch description = whatever

* hit [create] button

* now you need to go to newly created branch "source repository" configuration page/tab

* and there you need to override master's repository settings - there you should manually specify branch svn url.

Does this help?

cheers,

In the original plan configuration I have 3 separate source repositories. It seems like in the branch I can only change the default repository. How do I modify all the repositories to use the branch?

Ah, that's the worse case. Out of the box Bamboo doesn't support branching with multiple source repositories. I think you should watch&vote following ticket: https://jira.atlassian.com/browse/BAM-11544 . Other than that I can't help.

There is a work around on BAM-11544 for the multiple repositories issue.

In the original plan configuration I have 3 separate source repositories. It seems like in the branch I can only change the default repository. Does this automatically affect the other 2 as well?

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

701 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot