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.
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
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.
Notes
- A number of source repositories are supported 'out of the box', as described on the Supported Platforms page. If you need to use a type of repository that is not supported, a number of third-party Source Repository plugin modules are available (e.g. ClearCase plugin). You can also write a Source Repository Module plugin to enable Bamboo to connect to your repository.