Bamboo uses the 'Source Code Checkout' task to check out repositories into the working directory on the agent.

Using this task it is possible to:

To configure a new Source Code Checkout task:

  1. Navigate to the job that should perform the task, as described on Specifying the source repository.
  2. Click the Tasks tab, and select an existing 'Source Code Checkout' task in the tasks list, or add a new one using the Add Task button.
  3. Select the desired repository from the Repository list. 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.
  4. Specify a Checkout Directory location, which is where the contents of the selected repository will be checked out to when the task executes.
  5. Click Add Repository, at the bottom of the 'Task' screen, to add another repository to the task. 
  6. Click Save.

Screenshot: Configuring a Source Code Checkout task

Notes