Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too.

Skip to end of metadata
Go to start of metadata
Custom capabilities can be used to control which jobs will be built by a particular agent. For example, if the builds for a particular job should only run in a Windows environment, you could create a custom capability 'operating.system=WindowsXP' for the appropriate agent(s), and specify it as a requirement for this job. (See Configuring a job's requirements.) 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 custom capability:

  1. Navigate to the desired agent, as described in Viewing an agent.
  2. Click Add Capability in the top right of the 'Agent-Specific Capabilities' section.
  3. Choose Capability Type > Custom.
  4. Specify values for Key and Value.
  5. Click Add.

Screenshot: Adding an agent-specific custom capability

  1. May 09, 2012

    Anonymous

    so what if i want to create a share capability amongst all my agent that are the agent propertie as a value 

     

    like:

    Key: hostname 

    Value: ${Agent.Properties.Hostname}

     

    is it possible ?