
Creating a task for a job
|
このページの内容  |
|
|
ジョブのタスクを作成する方法
- Navigate to the tasks configuration for the desired job, i.e.
- Click Add Task.
- Click the desired task type in the 'Task Types' dialog.
- Update the values to configure the task as desired. The fields displayed will vary depending on the executable chosen. See the following pages for further details:

- 保存をクリックします。
Screenshot: Specifying a task for a job — Task Types

Ordering the tasks in a job
タスクはジョブ内でビルド タスクまたは最終タスクとして指定することができます。
- ビルド タスクは、ジョブ内で指定された順番で実行されます。ビルド タスクが失敗すると、後続のすべてのテストは実行されません。
- ビルド タスクが完了すると、最終タスクが順番に実行されます。ビルド タスクやその他の最終タスクが失敗したかどうかにかかわらず、最終タスクは常に実行されます。ビルドを手動で停止した場合でも、最終タスクは実行されます。
ジョブのタスクの順番を設定する方法
- 目的のジョブのタスクに移動します。
- 左側の表でタスクを目的の順番にドラッグ アンド ドロップします。ビルド タスクを最終タスクに、あるいはその逆に変更する場合は、表の目的のヘッダーの下にドラッグ アンド ドロップします。変更はすぐに保存されます。
Screenshot: Existing Task — Maven 2

注意
- About the 'Compatibility Task' — The 'Compatibility Task' is created by Bamboo when upgrading from Bamboo 3.0 or earlier and Bamboo cannot match a builder to a task. This may occur if you are using a builder enabled by a custom plugin. For more information, see the Bamboo 3.1 Upgrade Guide.
- Adding new executables — At least one executable is configured automatically after installing Bamboo. You can add more executables of different types as described in Configuring a New Executable.
- Adding new JDKs — At least one JDK is configured automatically after installing Bamboo. You can add more JDKs as described in Configuring a new JDK.