Task Specification
Was this helpful?
Was this helpful?
A Task
signifies a distinct unit of work within the broader context of a Job
. It defines the specifics of how the task should be executed, where the results should be published, what environment variables are needed, among other configurations
Task
ParametersName (string : <required>)
: A unique identifier representing the name of the task.
Engine (
: required)
: Configures the execution engine for the task, such as or .
Publisher (
: optional)
: Specifies where the results of the task should be published, such as and publishers. Only applicable for tasks of type batch
and ops
.
Env (map[string]string : optional)
: A set of environment variables for the driver.
Meta (
: optional)
: Allows association of arbitrary metadata with this task.
InputSources (
[] : optional)
: Lists remote artifacts that should be downloaded before task execution and mounted within the task, such as from or .
ResultPaths (
[] : optional)
: Indicates volumes within the task that should be included in the published result. Only applicable for tasks of type batch
and ops
.
Resources (
: optional)
: Details the resources that this task requires.
Network (
: optional)
: Configurations related to the networking aspects of the task.
Timeouts (
: optional)
: Configurations concerning any timeouts associated with the task.