[Bamboo Knowledge Base]
Bamboo uses the 'Source Code Checkout' task to check out repositories into the working directory on the agent.
Using this task it is also possible to:
To configure a new Source Code Checkout task:
Configure the task:
Task Description | Enter a description of the task, for display in Bamboo. |
Disable this task | Check, or clear, to selectively run this task. |
Repository | Select the desired repository. If you wish to add different types of repositories, they must have been previously defined on the plan's Source Repositories tab. See Specifying the source repository for a list of supported SCMs. |
Checkout Directory | The location to which the contents of the selected repository will be checked out to when the task executes. |
Force Clean Build | Deletes the previously checked out directory and checks it out again prior to the next build. This may significantly increase build times. |
Screenshot: Configuring a Source Code Checkout task
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.