JDK 機能の表示

新しい JDK 機能を定義する

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

ご利用の Bamboo システムで定義されているすべての JDK 機能は、「JDK」ページで確認できます。こうした機能には、ローカル サーバー機能、ローカル エージェント固有の機能、リモート エージェント固有の機能が含まれます。

次の点にご注意ください。

  • Bamboo による JDK の自動検出 — Bamboo または Bamboo Remote Agent のいずれかをインストールすると、(マシンの JAVA_HOME 環境変数に基づいて) 同じマシンにインストールされている既存の JDK を自動的に探して、その JDK インストール用の「JDK 機能」を作成します。そのパスの値は JAVA_HOME です。
  • ローカル エージェントと JDK 機能 — Bamboo は、同じマシンにインストールされている既存の JDK を自動的に探して「JDK 機能」を作成するため、ユーザーが作成するすべての既存/後続のローカル エージェントにはこの JDK 機能が備わっています。したがって、「JDK」ページにアクセスして、こうした JDK 機能を表示すると、すべてのローカル エージェントが「すべてのローカル エージェント」カテゴリにグループ化されて、この JDK 機能がすべてのローカル エージェントからしか削除できなくなります (個別のローカル エージェントからは削除できません)。

Bamboo で定義されている JDK 機能を表示/設定するには、次の手順に従います。

  1. Click the  icon in the Bamboo header and choose Overview.
  2. Click JDKs (under 'Build Resources') in the left navigation panel.
  3. Click the tab for a specific JDK to see the agents and jobs related to this JDK capability.

    • View the capabilities and jobs associated with an agent with this JDK capability — click the linked name of the agent in the 'Agent' column. See Viewing a capability's agents and jobs.
    • Edit JAVA_HOME for an agent — click 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  — click Delete in the 'Operations' column for the agent that currently possesses this JDK capability.
      (warning) 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.
    • View details about (and configure) an elastic image with this JDK capability — click the name of the elastic image in the 'Elastic Image Configuration' column. See Viewing an elastic image.
    • Configure a job that relies on this JDK capability — click the name of the job in the 'Plan' column.
    • To add a new JDK as a local server capability, click 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.

 

スクリーンショット: Bamboo で JDK を表示する

最終更新日 2020 年 7 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.