Version control capabilities let Bamboo know where the client application for a version control system is located, so that Bamboo can perform a checkout while building. Bamboo requires that a capabilitiy for at least one of the following version control repositories be set so that Bamboo can check out source code from that repository type:
- Git
If no capability is provided, Bamboo will use its built-in Git implementation. Note that the built-in Git implementation does not support symbolic links, submodules, automatic branch detection or automatic merging. - Mercurial
Note that there is no need to create a SVN capability as SVN support is built into every Bamboo agent.
Example version control executable paths
For the version control systems that require capabilities to be set on agents, the following table offers example paths for both Linux and Windows systems.
Note that these paths may differ on your actual system's configuration.
Capability type | Example paths |
---|---|
Git |
|
Mercurial |
|
To define a new version control capability
- Navigate to the desired agent.
- Select either a local or remote agent.
- Choose the version control type you require from Capability Type.
Provide the full path to client executable on the agent machine.
If you install a new agent on a machine that has Git already installed, the agent will find the Git client automatically.