getTask

Back to index

Summary

Retrieves a task by its name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
taskName
Stringrequired
The name of the task.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
pipelineName
Stringoptional
The name of the pipeline.
releaseName
Stringoptional
The name of the release.
stageName
Stringoptional
Name of the stage to which this task belongs to.
timeZone
Stringoptional
The time zone to use when interpreting times.
validate
Booleanoptional
If passed 1, then all validations check if the definition is complete and valid.

Usage

Perl

$cmdr->getTask( "test-projectName", # projectName "test-taskName" # taskName # optionals );

ectool

ectool getTask \ "test-projectName" `# projectName` \ "test-taskName" `# taskName` \ # optionals

Examples

Perl

$cmdr->getTask("Default", "Check out files", {pipelineName => "Final"});

ectool

ectool getTask "Default" "Check out files" --pipelineName "Final"