If you wish to build Plans on your Bamboo server and remote agents using a Perforce repository, you need to specify the location of the Perforce P4 client application for your Bamboo server and each remote agent that uses Perforce. These locations are set by specifying:
- a mandatory local server Perforce capability for your Bamboo server and
- agent-specific remote Perforce capabilities for each of your remote agents using Perforce.
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).
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 Perforce capability,
- Click the 'Administration' link in the top navigation bar.
- Click the 'Server Capabilities' link in the left navigation column.
- The 'Server Capabilities' screen will be displayed, showing a list of all local server capabilities currently defined in your Bamboo system.
- Locate the 'Add Capability' section at the bottom of the screen (see screenshot below).
- In the 'Capability Type' field, select 'Perforce'.
- In the 'Perforce Executable' field, type the location of the P4 client application for your server.
- 「追加」ボタンをクリックします。
To configure a new agent-specific remote Perforce capability,
- Click the 'Administration' link in the top navigation bar.
- Click the 'Agents' link in the left navigation column.
- The 'Agents' page will be displayed, showing lists of all Local Agents and Remote Agents in your Bamboo system.
- Click on the name of the agent for which you wish to configure a new Custom capability.
- 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.
- The 'Add Capability' page will be displayed (see screenshot below).
- Set the 'Capability Type' field to 'Perforce'.
- In the 'Perforce Executable' field, type the location of the P4 client application for your remote agents.
- 「追加」ボタンをクリックします。
Screenshot: 'Add Capability — Perforce'
