Viewing your JDK capabilities
You can view all the JDK capabilities that have been defined in your Bamboo system on the JDKs page. These include local server capabilities, local agent-specific capabilities and remote agent-specific capabilities.
Note the following:
- Bamboo's automatic detection of JDKs — When you install either Bamboo or the Bamboo Remote Agent, it will automatically look for an existing JDK installed on the same machine (based on the machine's
JAVA_HOMEenvironment variable) and create a 'JDK capability' for that JDK installation, with its path being the value of
- Local agents and JDK capabilities — Since Bamboo automatically looks for an existing JDK installed on the same machine and creates a 'JDK capability' for it, all existing and subsequent local agents that you create will possess this JDK capability. Hence, when you access the 'JDKs' page and view this JDK capability, all local agents will be grouped together in the 'All local agents' category and you will only be able to remove this JDK capability from all local agents, not from individual local agents.
To view and configure the JDK capabilities defined in Bamboo:
- From the top navigation bar select > Build resources > JDKs.
Select the tab for a specific JDK to see the agents and jobs related to this JDK capability.
- Viewing a capability's agents and jobs. — select the linked name of the agent in the Agent column. See
- Edit JAVA_HOME for an agent — select Edit in the Operations column for the agent you wish to configure. See Defining a new JDK capability.
- Remove this JDK capability from an agent — select Delete in the Operations column for the agent that currently possesses this JDK capability.
Be aware that you can only remove a JDK capability from all local agents, not from individual local agents. See the note above for more information.
- Viewing an elastic image. — select the name of the elastic image in the Elastic image configuration column. See
- Configure a job that relies on this JDK capability — select the name of the job in the Plan column.
- To add a new JDK as a local server capability, select add a JDK as a server capability at the top of the page. This opens the Server capabilities page at the Add capability section, with the JDK selected as the Capability type.