Bamboo で定義されているすべての実行可能機能は、“実行可能ファイル” ページで見ることができます。こうした機能には、ローカル サーバー機能、ローカル エージェント固有の機能、リモート エージェント固有の機能が含まれます。
An executable is an external program that Bamboo uses during the build process. Generally, executables compile source code to generate compiled executable files (referred to as artifacts in Bamboo). Ant, Maven, MSBuild or PHPUnit are just some examples of executables that can be used as part of your build process.New executables can be defined as capabilities in Bamboo. Once an executable has been defined in Bamboo, it can be configured as part of a task.
On this page:
関連ページ
実行可能機能の表示と設定
Bamboo で定義されている実行可能機能を表示および設定する方法は次のとおりです。
- Click the icon and select Bamboo admin.
- 左側のナビゲーション パネルで [Executables (実行可能ファイル)] をクリックします。
- 特定の実行可能ファイルのタブをクリックして、この実行可能機能に関連するエージェントとジョブを表示します。
- View more details about an agent with this executable capability — click the linked name of the agent in the 'Agent' column. This will show you the complete list of capabilities and jobs associated with that agent.
- Edit the executable path of an agent with this capability — click Edit in the 'Operations' column for the agent you wish to configure. See Defining a new executable capability.
- Remove this executable capability from an agent — click Delete in the 'Operations' column for the agent that currently possesses this executable capability.
Be aware that you can only remove a executable capability from all local agents, not from individual local agents. See the note below for more information.
- View details about (and configure) an elastic image with this executable capability — click the linked name of the elastic image in the 'Elastic Image Configuration' column.
- Configure a job that relies on or requires this executable capability — click the linked name of the job in the 'Plan' column.
- If you are currently viewing a Maven (2.x or later) executable capability, you can configure repository isolation for it by clicking Edit Capability Configuration. Please refer to Configuring repository isolation for Maven executables for more information.
- To add a new executable as a local server capability, click Add executable to server capabilities to navigate to the 'Server Capabilities' page.
スクリーンショット: 実行可能ファイル
注意
- Bamboo の実行可能ファイルの自動検出 — Bamboo サーバー アプリまたは Bamboo リモート エージェント アプリを別のマシンにインストールすると、どちらかのアプリが、(マシンの環境変数とその他の条件の組み合わせに基づいて) 同じマシンにインストールされている既存の実行可能ファイルを自動的に検索します。この Bamboo アプリのいずれかが見つけた実行可能ファイルそれぞれに “実行可能機能” が作成されます。
Bamboo が実行可能機能を自動的に検出して作成するために使用する環境変数と条件は、次のとおりです。“コマンド” 実行可能ファイルを除き、自動的に検出された各実行可能ファイルのパスは、こうした環境変数内にあるパス “文字列” の値に基づいています。- Ant —
ANT_HOME環境変数 - Maven —
MAVEN_HOME環境変数 (Maven 1)、M2_HOMEまたはMAVEN2_HOME環境変数 (Maven 2.x) - Grails —
GRAILS_HOME環境変数 - コマンド —
/bin/bashファイルが存在していること - PHPUnit — マシンの
PATH環境変数値内の任意の場所にphpunitファイルが存在していること
- Ant —
- Local agents and executable capabilities — Since Bamboo automatically looks for executables installed on the same machine and creates a 'executable capability' for each executable installation it finds, all existing and subsequent local agents that you create will possess these executable capabilities. Hence, when you access the 'Executables' page and view these executable capabilities, all local agents will be grouped together in the 'All local agents' category and you will only be able to remove these executable capabilities from all local agents, not from individual local agents.
