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. 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). | Related pages: |
Configuring a new local server executable capability
Local server capabilities are inherited by all local agents.
Before you begin:
- 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 Administration in the top navigation bar.
- Click Server Capabilities in the left navigation panel.
- Choose Capability Type > Executable in the 'Add Capability' section at the end of the page (see screenshot below).
- Select the appropriate type of executable from the Type list.
- In the Executable Label field, type a name/label for the executable, which Bamboo presents in the Executable list whenever a Task's executable is configured.
- In the Path field, type the appropriate path. This will depend 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.
Configuring a new shared remote executable capability
Bamboo Remote agents inherit only the paths of the shared executable capabilities, not the actual executable files. This means that every time you configure a capability for an agent, you must make sure that the executable file (for example, Ant or Maven) exists in that location on the remote server where the remote agent will run.
Shared remote executable capabilities are not shared with elastic agents.
To configure a new shared remote executable capability:
- Click Administration in the top navigation bar.
- Click Agents in the left navigation panel.
- In the 'Remote Agents' section, click Shared Remote Capabilities at the right.
- Choose Capability Type > Executable in the 'Add Capability' section (see the screenshot below).
- Select the appropriate type of executable from the Type list.
- In the Executable Label field, type a name/label to help you identify this executable.
- In the Path field, type the appropriate path. This will depend 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.
Screenshot: Add Shared Capability — Executable
Attachments:



