Bamboo 3.4 : Configuring an Agent-specific Executable Capability

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).

Configuring a New Agent-Specific Builder Capability

To configure a new agent-specific Builder capability:

  1. Navigate to the desired agent, as described on Viewing an Agent.
  2. In the 'Agent-Specific Capabilities' section of the 'Capabilities' tab, click the 'Add Capability' link. The 'Add Capability' page is displayed (see screenshot below).
  3. Set the 'Capability Type' field to 'Executable'.
  4. Select the appropriate 'Type' of Executable from the dropdown list.
  5. 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.
  6. 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'.
    (info) For Ant and Maven, Bamboo requires the Path to be the location of the Executable installation folder.
  7. 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