[Bamboo OnDemand Docs]
[Bamboo Knowledge Base Home]
このページでは、コマンド (例: Bash) 実行可能ファイルを使用する Bamboo タスクの設定方法をご説明します。
See Configuring a builder task for an overview of Bamboo builder tasks.
コマンド タスクを設定するには、次の手順に従います。
Complete the following settings:
| タスクの説明 | A description of the task, which is displayed in Bamboo. |
| このタスクを無効化 | オンまたはオフにすることで、選択的にこのタスクを実行します。 |
| 実行可能ファイル | タスクを実行するために利用できるコマンド実行可能ファイル (例: Bash)。選択した実行可能ファイルは、タスク (またはジョブ) の要件の 1 つとなります。 |
| 引数 | (Optional) The relevant argument to pass to the command. Note that arguments which contain spaces must be quoted. You can include variables (see Using global, plan or build-specific variables). |
| 環境変数 | (Optional) Additional system environment variables that you want to pass to your build. Note that existing environment variables are automatically available to the executable. You can also include Bamboo global or build-specific variables (see Using global, plan or build-specific variables). Multiple variables should be separated with spaces. Parameters with spaces must be quoted (e.g ANT_OPTS="-Xms200m -Xmx700m"). |
| Working Sub Directory | (オプション) Bamboo が実行ファイルを実行する、ジョブのルート ディレクトリに相対的な代替サブディレクトリ。ルート ディレクトリには、ジョブの構成済みソース リポジトリから確認されたものがすべて含まれます。このフィールドを空白のまま残した場合、Bamboo はルート ディレクトリでビルド ファイルを検索します。このオプションは、サブディレクトリ内にビルド スクリプトがあり、実行可能ファイルをそのサブディレクトリ内から実行する必要がある場合に便利です。 |