Once you have configured a new executable capability in your Bamboo system, its label (e.g. 'Ant') will appear in the Executable list when you configure the executable for a task (see Configuring tasks). The executable you select will be used every time the task is executed during a build. That is, the task can only be run by agents which have a capability that matches the executable specified in the task's Executable list. 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 agent-specific executable capability:
- Navigate to the desired agent, as described on Viewing an agent.
- In the 'Agent-Specific Capabilities' section of the Capabilities tab, click Add Capability. The 'Add Capability' page is displayed (see screenshot below).
- Choose Capability Type > Executable.
- Select the appropriate executable from the Type list.
- In the Executable Label, type a name/label for the executable. Bamboo uses this name in the Executables list whenever a task's executable is configured.
- In the Path field, type the appropriate path. This will vary depending on the Type you selected in the previous step.
For Ant and Maven, Bamboo requires the path to be the location of the executable installation folder.
- Click Add. This will verify whether the executable and path you have specified are valid.
Screenshot: Add Capability — Executable