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 Job
To navigate to the source repository settings for a Job:
- Click Dashboard and then the All Plans tab.
- Locate the Plan in the list which contains the Job you wish to configure and click the Plan's name. The Plan's 'Plan Summary' page will be displayed.
- Locate the Job in the 'Plan Navigator' on the left and click the name of the Job. The Job's Summary will be displayed.
- Choose Actions > Configure Job.
- Click the Tasks tab to display the repository settings for your Job.
- Locate the Source Code Checkout task. (Note that this may not be present in your Job configuration if it has been explicitly removed by the user.)
Configuring the Source Code Checkout Task
Bamboo uses the Source Code Checkout Task to checkout repositories into the working directory on the agent.
Using this Task it is possible to:
- Checkout multiple repositories to a custom directory path in the working directory
- Specify multiple checkouts that occur at different stages of the build (This can be achieved by simply adding another Source Code Checkout Task after any number of regular build steps)
To add a new checkout:
- Select an existing Source Code Checkout Task in the Task list or add a new one using the Add Task button.
- Click Add Repository at the bottom of the Task screen
- Select the desired Repository from the Repository list (If you wish to add more repositories to this list, they must be defined on the Plan's Source Repositories configuration)
- Specify a Checkout Directory where the contents of the selected repository will be checked out to when the Task executes
- Click Save
Screenshot: Configuring a Job — Subversion Source Repository
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.
Attachments:


