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

How do I branch in bamboo with subversion

AmitB August 13, 2012

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

0 votes
AmitB August 13, 2012

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?

0 votes
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2012

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,

AmitB August 13, 2012

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?

PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2012

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.

James Dumay
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2012

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events