The instructions on this page describe how to configure Bamboo to use a Subversion source repository. | On this page: Related pages: |
Configuring a Subversion source repository
Navigate to the source repository settings for a plan or job, as described on Specifying the source repository.
- Either click Add Repository to add a new repository, or edit an existing repository configuration.
- Choose Subversion from the Source Repository list.
- Enter a Display Name to help identify the repository in Bamboo.
- You can configure the following settings for a Subversion source repository for your plan:
| Repository URL | The location of your Subversion repository e.g.http://svn.collab.net/repos/svn/trunk
| |
| Username | (Optional) The Subversion username (if any) required to access the repository. | |
| Authentication Type | Password – choose this option if you want to authenticate with a username and password. | |
SSH – if you choose to authenticate using SSH, you need to provide the following details:
| ||
SSL Client Certificate – if you choose to authenticate using an SSL Client Certificate, you need to provide the following details:
| ||
Advanced Options
| Detect Changes in Externals | Select this if your Subversion repository uses svn:externals to link to other repositories (your externals must be in the root of the checkout directory, not in a subdirectory). Please note that you only need to select this check box if you require Bamboo to detect changes in the externals. If your externals reference a particular (static) revision, you do not need to check this box. | ||
| Use SVN Export | This option will speed up the first-time checkout, but updates are not supported. Implies Force Clean Build. | ||
| Enable Commit Isolation | Ensures that a build will only have one change, allowing you to isolate your build failures. | ||
| Automatically detect root URL for branches | Specifies whether the VCS Branching Task automatically determines the location of created branches. | ||
| Automatically detect root URL for tags | Specifies whether the VCS Tagging Task automatically determines the location of created branches. | ||
| Enable Quiet Period | Specifies a delay after a single commit is detected before the build is started. This allows multiple commits to be aggregated into a single build. (Only available when configuring an existing plan.) | ||
| Include/Exclude Files | Allows you to specify the files that Bamboo should, or should not, use to detect changes. Enter into File Pattern a regular expression to match the files that Bamboo includes or excludes. The regex pattern must match the file path in the repository. See sub page for examples. | ||
| Exclude Changesets | Enter a regular expression to match the commit messages for changesets that should not start a build. | ||
Web Repository | If your repository can be viewed in a web browser, select the repository type. This allows links to relevant files to be displayed in the 'Code Changes' section of a build result. | ||
Generic Web Repository
| |||
FishEye – specify the URL and other details for the repository:
| |||
Notes
- If you are having problems connecting to Subversion, consult our documentation on troubleshooting Subversion connections.
- If you use pre-1.5 Subversion client to access code checked out by Bamboo, you may encounter problems with your builds. This is due to the SVNKit upgrade in Bamboo 2.1.4. Please read this knowledge base article for further details.







11 Comments
Hide/Show CommentsMay 09, 2008
Matt Doar (CustomWare)
An example of a URL with a space in it would be good too.
E.g. http://svn.collab.net/repos/svn/trunk/directory%20with%20spaces
Mar 23, 2009
Anonymous
*Is it possible to specify more than one Repository URL? E.g., *http://abc/src/svn/unit1 and http://abc/src/svn/shared are both required to make a build.
Apr 09, 2010
Anonymous
Any news on using multiple repository urls for product build?
Feb 18, 2011
Anonymous
Yeah. That would be great.
Jun 16, 2009
Anonymous
The "Include /Exclude Files" option checks only file names, or absolute path, or path relative to working directory?
Jun 17, 2009
Anonymous
Is it possible for a plan to share the same subversion checkout as another plan?. I need to perform extra operations in a generated ear file by a previous plan and it would be good to have access to those files.
Jul 21, 2010
Terris Linenbach
Desperately seeking example of an "exclude" or "include" regular expression. I'm a programmer and I know what a regex is, but I have no idea what Bamboo is trying to match it against.
Let's cut to the chase. The file is something like http://foo/blank/trunk/harness/etc/env/info.pm . What is the regex?
Aug 31, 2010
Sam Kenny
I raised this with Atlassian Support. This is the reply from Renan which works for me:
This field uses Java Regex. An example would be the following:
That would exclude files located ate a path containing "/src/" or ending with ".txt".
To exclude ".txt" files you can use:
Nov 18, 2010
John Harelius
In Bamboo 2.6 I could omit the username and password for accessing Subversion, and then the user running the Bamboo service was used. This was very convenient since you didn't need to bother about username and password for accessing Subversion when creating plans.
I can't get this to work using Bamboo 2.7 though, have there been a change in the way subversion is accessed in Bamboo 2.7?
Jul 25, 2011
Anonymous
For subversion SSH authentication the private key file must be in OpenSSH format.
I run in windows and sa was trying to use a putty format key file (.ppk extension) and the error message wasn't very helpful. Fortunately the puttygen tool has the ability to save a key in OpenSSH format in "Conversions->Export OpenSSH key".
Apr 17, 2012
Anonymous
Other man live to eat, while I eat to live.Patience! The windmill never strays in search of the wind.dkjferere66 The jealous are troublesome to others, but a torment to themselves.
<strong><a href="http://www.2012-cap.com">Cheap Snapback Hats</a></strong><br>
<a href="http://www.2012-cap.com">Snapback Hats Wholesale</a><br>
<a href="http://www.2012-cap.com">Cheap New Era Hats&Caps</a><br>
<a href="http://www.2012-cap.com">Wholesale Hats&Caps</a><br>
<a href="http://www.2012-cap.com">New Era Fitted Hats</a><br>
<a href="http://www.2012-cap.com/mlb-hats-c-3133.html">Cheap MLB Hats</a><br>
<a href="http://www.2012-cap.com/nba-hats-c-3197.html</a><br>Cheap NBA Hats</a><br>
<a href="http://www.2012-cap.com/monster-energy-hats-c-3237.html"></a><br>
<a href="http://www.2012-cap.com/red-bull-hats-c-3293.html">Red Bull Hats</a><br>
<a href="http://www.2012-cap.com/superman-hats-c-3300.html">Superman Hats</a><br>
Add Comment