A capability is a feature of an agent. A capability can be a:
- builder (e.g. Maven)
- JDK
- custom capability (a key-value property which defines a particular characteristic of an agent, e.g. 'operating.system=WindowsXP' or 'fast.builds=true')
- Perforce (location of the P4 client application, if Perforce is being used as the source repository)
Capabilities can be defined specifically for an agent, or they can be shared between either all local agents or all remote agents. Note that the value of an agent-specific capability overrides the value of a shared capability of the same name (if one exists).
See Configuring Capabilities for more information.
Because each agent can only run builds for Jobs whose requirements are met by the agent's capabilities (see Configuring a Job's Requirements), modifying a capability may mean that some plans can no longer be built.
The instructions on this page do not describe how to rename a capability. If you want to rename a capability, see Renaming a Capability.
Editing an Agent-Specific Capability
To edit an agent-specific capability:
- Navigate to the desired agent, as described on Viewing an Agent.
- The 'Agent Capabilities' screen will be display, showing a list of shared capabilities and agent-specific capabilities for your chosen agent.
- Click the 'Edit' corresponding to the agent-specific capability you wish to edit.
- The 'Edit Capability' page will display. Depending on what type of capability you are editing, you will be able to modify the following values:
- If you are editing a Builder capability, you can modify the 'Path' of the builder.
- If you are editing a JDK capability, you can modify the 'Java Home' of the JDK.
- If you are editing a Custom capability, you can modify the 'Value' of the capability>
- If you are editing a Perforce capability, you can modify the 'Perforce Executable' path.
Editing a Local Server Capability
To edit a local server capability:
- Click the 'Administration' link in the top navigation bar.
- Click the 'Server Capabilities' link in the left navigation column.
- The 'Server Capabilities' page will display, showing a list of all local server capabilities currently defined in your Bamboo system.
- Click the 'Edit' link corresponding to the capability you wish to edit.
- The 'Edit Capability' page will display. Depending on what type of capability you are editing, you will be able to modify the following values:
- If you are editing a Builder capability, you can modify the 'Path' of the builder.
- If you are editing a JDK capability, you can modify the 'Java Home' of the JDK.
- If you are editing a Custom capability, you can modify the 'Value' of the capability.
- If you are editing a Perforce capability, you can modify the 'Perforce Executable' path.
Editing a Shared Remote Capability
To edit a shared remote capability:
- Click the 'Administration' link in the top navigation bar.
- Click the 'Agents' link in the left navigation column.
- Click the 'Shared Remote Capabilities' link in the top right of the 'Remote Agents' section.
- The 'Shared Remote Capabilities' screen will display, showing a list of all shared remote capabilities currently defined in your Bamboo system.
- Click the 'Edit' link corresponding to the capability you wish to edit.
- The 'Edit Capability' page will display. Depending on what type of capability you are editing, you will be able to modify the following values:
- If you are editing a Builder capability, you can modify the 'Path' of the builder.
- If you are editing a JDK capability, you can modify the 'Java Home' of the JDK.
- If you are editing a Custom capability, you can modify the 'Value' of the capability.
- If you are editing a Perforce capability, you can modify the 'Perforce Executable' path.
Notes
Configuring Capabilities