Bamboo 3.4 : Specifying the Source Repository for a Plan

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 checkout your newly defined repository.
  • You can 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:

  1. Click Dashboard  and then the All Plans tab.
  2. Locate the Plan in the list and click its icon. The plan's configuration pages will be displayed.
  3. 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:

  1. Click Administration and then Shared Repositories (under 'Build Resources').
  2. Either add a new repository, or edit an existing shared repository.
  3. Follow the on-screen instructions to configure the repository. For details regarding a particular repository type, please refer to the pages listed above.

Notes