removeTaskGroup

On this page
Back to index

Summary

Removes a task group, but does not delete the tasks. The location of the ungrouped tasks is the same as the location of the group task.
projectName
Stringrequired
The name for the project that must be unique among all projects.
pipelineName
Stringoptional
The name of the pipeline.
stageName
Stringoptional
Name of the stage to which this task belongs to.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
groupName
Stringoptional
The name of the group task.
releaseName
Stringoptional
The name of the release.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.removeTaskGroup( projectName: "test-projectName" /* optional arguments */ )