関連ページ

To configure a new agent-specific JDK capability:

  1. Navigate to the desired agent, as described on Viewing an agent.
  2. [機能] タブをクリックします。
  3. Click Add Capability (under 'Agent-Specific Capabilities').
  4. Choose Capability Type > JDK.
  5. In the JDK Label field, type a name/label for the JDK. Bamboo show this in the Build JDK list whenever a job's builder is configured.
  6. In the Java Home field, type the location of the JDK Home Directory.
  7. [追加] をクリックします。


Screenshot: Add Capability — JDK

注意

  • Configuring generic JDK capabilities — If you want to indicate that an agent is capable of running builds for a set of related JDKs (e.g. all point versions of JDK 1.5), you set up generic JDK capabilities to encompass these JDKs.
    For example, you can set up the following JDK capabilities for your Bamboo agent(s):
    • JDK ([JDK ラベル] =「JDK」および [Java ホーム] =「/usr/java/jdk1.5.0_07」) - この JDK 機能は、エージェントが任意の JDK 要件でビルドを実行できることを示しています。
    • JDK 1.5 ([JDK ラベル] =「JDK 1.5」および [Java ホーム] =「/usr/java/jdk1.5.0_07」) - この JDK 機能は、エージェントが JDK 1.5 要件または JDK 1.5 の任意のポイント バージョン (1.5.0_07、1.5.0_08 など) でビルドを実行できることを示しています。
    • JDK 1.5.0_07 ([JDK ラベル] =「JDK 1.5.0_07」および [Java ホーム] =「/usr/java/jdk1.5.0_07」) - この JDK 機能は、エージェントが JDK 1.5.0_07 要件でのみビルドを実行できることを示しています。