createTaskGroup

Back to index

Summary

Modifies tasks in a stage or a gate to create a group of parallel tasks or adds them to an existing group. The default error handling for group tasks is stopOnError or to add them into an existing group.
projectName
Stringrequired
The name for the project that must be unique among all projects.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
groupName
Stringoptional
The name of the group task.
groupRunType
Stringoptional
The type of the sub task run for a group task. If serial then all tasks are run in serial, otherwise - in parallel (by default).
Possible values: "parallel", "serial"
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.
taskNames
Collectionoptional
Tasks to put into the group.

Usage

Perl

$cmdr->createTaskGroup( "test-projectName" # projectName # optionals );

ectool

ectool createTaskGroup \ "test-projectName" `# projectName` \ # optionals

Examples

Perl

$cmdr->createTaskGroup("Default", {groupName => "Group3", pipelineName => "Heatclinic pipeline DSL", stageName => "QA", taskName => [ "Undeploy HeatClinic from Static Environment", "Deploy HeatClinic on Static Environment"]});

ectool

ectool createTaskGroup "Default" --groupName "Group3" --pipelineName "Heatclinic pipeline DSL" --stageName "DEV" --taskNames "Undeploy HeatClinic from Static Environment" "Deploy HeatClinic on Static Environment"