Bamboo 4.2 : Configuring a new JDK

At least one JDK was automatically configured when you installed Bamboo 1. You can configure more by defining JDK capabilities.

(warning) The information on this page does not apply to Bamboo OnDemand.

You can define a new JDK capability for:

(info) Note that if an agent has its own specific JDK capability, the value will override the value of a shared JDK capability of the same name (if one exists).

Once you have configured a new JDK capability in your Bamboo system, its label (e.g. '1.5') will appear in the Build JDK list when you configure a job's builder (see Configuring tasks). The JDK you select will be used for every one of that job's builds. That is, the job can only be built by agents which have a JDK capability whose label is specified in the job's Build JDK field.

1 This depends on the system environment variables (e.g. 'JAVA_HOME=/opt/java/java_sdk1.5') that were present on the machine on which Bamboo was installed:

  • On the Bamboo server, environment variables that were present during installation were saved as shared local capabilities in Bamboo.
  • On remote agents, environment variables that were present during installation were saved as agent-specific capabilities in Bamboo.

Attachments: