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. 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). |
Configuring a New Local Server Executable Capability
Before you begin:
- Shared remote executable capabilities are not shared with elastic agents.
- If you want to run multiple Maven agents on your local server, you will need to configure repository isolation for your Maven executables. See Configuring Repository Isolation for Maven Executables for details.
To configure a new local server Executable capability:
- Click the 'Administration' link in the top navigation bar.
- Click the 'Server Capabilities' link in the left navigation column to display the Server Capabilities page, which lists all local server capabilities currently defined in your Bamboo system.
- In the Add Capability section at the end of this page (see screenshot below), select 'Executable' from the 'Capability Type' dropdown list.
- Select the appropriate type of Executable from the 'Type' dropdown list.
- In the 'Executable Label' field, type a name/label for the Executable, which Bamboo presents in the 'Executable' 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.
Configuring a New Shared Remote Executable Capability
To configure a new shared remote Executable capability:
- Click the 'Administration' link in the top navigation bar.
- Click the 'Agents' link in the left navigation column to display the Agents page, which lists all Local and Remote Agents that currently exist in your Bamboo system.
- In the Remote Agents section, click the 'Shared Remote Capabilities' link at the right. The Shared Remote Capabilities page is displayed, showing a list of all shared remote capabilities currently defined in your Bamboo system.
- In the Add Capability section at the end of this page (see screenshot below), select 'Builder' from the 'Capability Type' dropdown list.
- Select the appropriate type of Executable from the 'Type' dropdown list.
- In the 'Executable Label' field, type a name/label for the Builder, 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 above: Add Shared Capability — Executable
Notes
Related Topics
Attachments:

