This page last changed on Oct 16, 2008 by alui.
Once you have configured a new JDK capability in your Bamboo system, its label (e.g. '1.5') will appear in the 'Build JDK' drop-down list on the 'Build Resources' tab when you configure a build plan (see Specifying a Plan's Builder). The JDK that you select when you configure a plan will be used for every build that is executed for that plan. That is, the plan can only be built by agents which have a JDK capability whose label is specified in the plan's 'Build JDK' field.

An agent-specific capability 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 JDK capability,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Agents' link in the left navigation column.
  3. The 'Agents' page will be displayed, showing lists of all Local Agents and Remote Agents in your Bamboo system.
  4. Click on the name of the agent for which you wish to configure a new JDK capability.
  5. The 'Agent Capabilities' screen will be displayed, showing a list of shared capabilities and agent-specific capabilities for your chosen agent. Click the 'Add Capability' link in the top-right of the 'Agent-Specific Capabilities' section.
  6. The 'Add Capability' page will be displayed (see screenshot below).
  7. Set the 'Capability Type' field to 'JDK'.
  8. In the 'Label' field, type the name that you wish to appear in the 'Build JDK' drop-down list when a plan is configured.
  9. In the 'Java Home' field, type the location of the JDK Home Directory.
  10. Click the 'Add' button. This will verify whether the JDK 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 --- JDK'


Document generated by Confluence on Mar 02, 2009 18:51