[Bamboo Knowledge Base]
You add the Source Code Checkout task to a job to configure a repository for use by just that job. For information about configure a repository for use by all the plan's jobs, or by all plans, see Linking to source code repositories.
By default, repositories are checked out to the Bamboo working directory. Using Source Code Checkout task you can:
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 Linking to source code repositories 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