
Creating a task for a job
|
On this page:  |
|
|
To create 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:

- Click Save.
Screenshot: Specifying a task for a job — Task Types

Ordering the tasks in a job
Tasks can be designated as build tasks or final tasks in a job:
- Build Tasks will run sequentially in the order specified in the job. If a Build Task fails, all subsequent tests will not be executed.
- Final Tasks will run sequentially, once the build tasks have completed. Final Tasks will always be executed, regardless of whether any Build Tasks or other Final Tasks fail. Final Tasks will be executed even if you stopped the build manually.
To order the tasks for a job:
- Navigate to the tasks for the desired job.
- Drag and drop the tasks into the desired order in the table on the left. If you want to change a Build Task to a Final Task or vice versa, drag and drop it under the desired header in the table. Your changes will be saved immediately.
Screenshot: Existing Task — Maven 2

Notes
- 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.