Smart Mirroring
Starting with version 6.2, Bamboo provides support for Smart Mirroring in Bitbucket Data Center and Server. Smart Mirroring allows you to use local repositories for storing your repository data to avoid having to wait when cloning a repository from a remote location.
For more on Smart Mirroring, see the Bitbucket Data Center and Server documentation.
Prerequisites
- Bitbucket Data Center and Server 7.5 or later
- Bitbucket Data Center and Server license with mirrors support
- routing from Bamboo to Bitbucket Data Center and Server instance
- routing between agent and mirror enabled
To enable Smart Mirroring in Bamboo:
- From the Bamboo header select > Build resources > Linked repositories.
- Select your Bitbucket Data Center and Server repository.
- In the Edit repository section, select Advanced options.
- From the Mirror drop-down list, select your mirror location.
Bulk update of Smart Mirroring settings for repositories
Starting from Bamboo 6.10.3, you can update the mirrors for all repositories of a single Bitbucket Data Center and Server.
Downgrading from Bitbucket Data Center and Server license to a regular license may cause problems. In the unlikely event of such a downgrade, we recommend to switch all repositories to primary before switching versions.