This page describes how to configure a Bitbucket Mercurial source repository for either a plan or a job.
To add a new Bitbucket repository, navigate to the source repository settings for a Plan or Job, as described on Specifying the Source Repository for a Plan. Choose to add a new, or edit an existing, repository.
| My Repositories | Retrieves all repositories you have explicit permissions to access from Bitbucket when you click Load Repositories. |
| URL | Allows you to specify a repository URL (eg. http://bitbucket.org/sindbad/ogre). To choose a branch to work with, other than the default branch, click Load Branches. |
| Branch | Pick a branch if you want to checkout code from a branch other than the default branch. |
Advanced Options
| Command timeout | This is useful to cut hung Bitbucket processes. On slower networks, you may consider increasing the default timeout to allow Bamboo time to make an initial clone of the mercurial repository. |
| Verbose logs | Turns on --verbose and --debug options in hg commands and passes the output to build logs. Use this option if you encounter problems with Mercurial in Bamboo. |
Screenshot: Source Repository — Bitbucket
Specifying the Source Repository for a Plan
Specifying the Source Repository for a Job