[Bamboo Knowledge Base]
Tasks may make use of an executable if required. Once a task is defined in the Bamboo system, it can then be specified in jobs by a plan administrator. A job can be configured to execute a number of tasks, on the same working directory. For example, before executing a Maven goal, the user could substitute specific files within the working directory, substitute version numbers, checkout source repositories or execute a script.
When creating a new job or configuring an existing one, you need to specify the tasks that will execute the job's builds. You must specify an executable for each task. If you specify an Ant, Grails or Maven executable, you will also need to choose a JDK.
When creating a new plan, you can configure the tasks for the plan's default job.
On this page:
To create a task for a job:
Screenshot: Specifying a task for a job — Task Types
Tasks can be designated as build tasks or final tasks in a job:
To order the tasks for a job:
Screenshot: Existing Task — Command Task
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.