As part of configuring a plan, you can specify the default source repository to use in your builds.
The default source repository is used by the plan's 'Default Job' and can be used by other jobs added to this plan.
- You can change the repository that is used in a particular job of the plan. Just add more repositories on the Source Repositories tab of the plan and then change Source Code Checkout on the job Task tab to have the job checkout your newly defined repository.
- You can also specify shared source repositories. These repositories are available to all plans on the server.
For details, please refer to the following pages (see Notes below):
Navigating to the Source Repository Settings for a Plan
To navigate to the source repository settings for a plan:
- Click Dashboard and then the All Plans tab.
- Locate the plan in the list and click its
icon. The plan's configuration pages will be displayed. - Click the Source Repositories tab, and then the name of a repository, to display the repository settings for your plan (see screenshot below).
Screenshot: Configuring a Plan — Subversion Source Repository
bamboo_configureplan-source.png
Configuring a Shared Source Repository
You can set up shared source repositories that are then available to multiple plans and jobs. Doing this can save you from having to reconfigure the source repositories in multiple places if these ever change. Changes to a shared repository are applied to every plan or job that uses the repository.
To configure shared source repositories:
- Click Administration and then Shared Repositories (under 'Build Resources').
- Either add a new repository, or edit an existing shared repository.
- Follow the on-screen instructions to configure the repository. For details regarding a particular repository type, please refer to the pages listed above.
注意
7 Comments
Anonymous
Oct 02, 2009For others using fisheye as your 'Web Repository':
I've had good experience using http://my/atlassian.local/fisheye/browse as my web repository url
(fisheye is visible @ http://atlassian.local/fisheye/ in our setup)
PeTomasek
Mar 31, 2010I see only the following repository types:
Why is Fisheye missing in the list? And why CVS setup requires password authentication for local repository?
Giles Gaskell
Nov 15, 2010Please note that FishEye is not a type of source code repository. FishEye is a tool for accessing and interacting with source code housed in a Subversion, Git, Perforce, ClearCase, CVS or Mercurial source repository.
The documentation on how to integrate FishEye with your Bamboo Plan/Job is explained on each source repository documentation page (i.e. child pages of this one).
Finally, Bamboo does not require you to specify a password for source code repositories — the 'Password' field is optional.
Cheers,
Giles.
Anonymous
Jan 04, 2011I am not sure why there is no description in documentation regarding build of particular label?
Anonymous
Sept 09, 2011Is there a way to map multiple FishEye Repositories to a single Bamboo Plan?
Anonymous
Oct 24, 2011I would also like to find out if there is a way to map multiple perforce branches to a single bamboo plan.
Anonymous
Mar 23, 2012Seems like the link "Source Repository Module plugin" points back to this page and not to the correct page.