This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

If you wish to build plans on your server and remote agents using a Mercurial repository, you need to specify the location of the Mercurial hg client application for your Bamboo server and for each remote agent using Mercurial. These locations are set by specifying:

  • a mandatory local server Mercurial capability for your Bamboo server and
  • agent-specific remote Mercurial capabilities for each of your remote agents using Mercurial.

(info) Shared capabilities are inherited by all applicable agents, that is, (shared) local server capabilities are inherited by all local agents, and shared remote capabilities are inherited by all remote agents. Note, however, that the value of a shared capability will be overridden by the value of an agent-specific capability of the same name (if one exists).

(info) An agent-specific capability is a capability that applies to one agent only. Note that the value of an agent-specific capability will override the value of a shared capability of the same name (if one exists).

To configure a new local server Mercurial capability,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Server Capabilities' link in the left navigation column.
  3. The 'Server Capabilities' screen will be displayed, showing a list of all local server capabilities currently defined in your Bamboo system.
  4. Locate the 'Add Capability' section at the bottom of the screen (see screenshot below).
  5. In the 'Capability Type' field, select 'Mercurial'.
  6. In the 'Executable' field, select 'Mercurial'.
  7. In the 'Path' field, provide a full path (or make sure it is on the system PATH) to the hg client application for your server.
  8. Click the 'Add' button.

To configure a new agent-specific remote Mercurial capability,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Agents' link in the left navigation column.
  3. The 'Agents' page will be displayed, showing lists of all Local Agents and Remote Agents in your Bamboo system.
  4. Click on the name of the agent for which you wish to configure a new Mercurial capability.
  5. The 'Agent Capabilities' screen will be displayed, showing a list of shared capabilities and agent-specific capabilities for your chosen agent. Click the 'Add Capability' link in the top-right of the 'Agent-Specific Capabilities' section.
  6. The 'Add Capability' page will be displayed (see screenshot below).
  7. In the 'Capability Type' field, select 'Mercurial'.
  8. In the 'Executable' field, select 'Mercurial'.
  9. In the 'Path' field, provide a full path (or make sure it's on the system PATH) to the hg client application for your remote agent.
  10. Click the 'Add' button.

Screenshot: 'Add Capability — Mercurial'

  • No labels