A core part of setting up your continuous integration build process in Bamboo is to specify the code repositories that Bamboo should work with.
- When you create a new plan, the source repository you specify becomes the default. It is used by the plan's 'Default Job' and can be used by other jobs added to this plan.
- You can specify additional repositories for a Bamboo plan to work with, perhaps for tasks in later stages of the build. See Checking out code.
- You can set up shared source repositories that are then available globally to all plans and jobs configured on the Bamboo server. 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.
Bamboo is able to connect to a variety of SCMs; for details regarding a particular repository type, please refer to Specifying the source repository and the pages listed below: