deleteTask

On this page
Back to index

Summary

Deletes a task in a task container.
projectName
Stringrequired
The name for the project that must be unique among all projects.
stageName
Stringoptional
Name of the stage to which this task belongs to.
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.

Usage

Groovy

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