Once you have configured a new executable capability in your Bamboo system, its label (e.g. 'Ant') will appear in the Executable dropdown 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 Job 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 field. 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). |
On this page: |
Configuring a New Agent-Specific Builder Capability
To configure a new agent-specific Builder capability:
- Navigate to the desired agent, as described on Viewing an Agent.
- In the 'Agent-Specific Capabilities' section of the 'Capabilities' tab, click the 'Add Capability' link. The 'Add Capability' page is displayed (see screenshot below).
- Set the 'Capability Type' field to 'Executable'.
- Select the appropriate 'Type' of Executable from the dropdown list.
- In the 'Executable Label' field, type a name/label for the Executable, which Bamboo presents in the 'Executables' dropdown 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; relevant instructions will be shown below the 'Type'.
For Ant and Maven, Bamboo requires the Path to be the location of the Executable installation folder.
- Click the 'Add' button. This will verify whether the Executable and Path you have specified are valid. If they are not, re-enter the values and then click the 'Add' button again.
Screenshot: Add Capability — Executable
Notes
Related Topics
Configuring Tasks
Configuring a Shared Executable Capability