Back to index
Summary
Modifies an existing gate.projectNameStringrequiredThe name for the project that must be unique among all projects. stageNameStringrequiredName of the stage to which this task belongs to. gateTypeStringrequiredThe type of the gate. conditionStringoptionalA fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. pipelineNameStringoptionalThe name of the pipeline. preconditionStringoptionalA fixed text or text embedding property references that is evaluated into a logical TRUE or FALSE. An empty string, a 0 or false is interpreted as FALSE. Any other result string is interpreted as TRUE.releaseNameStringoptionalThe 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.modifyGate( projectName: "test-projectName", stageName: "test-stageName", gateType: "test-gateType" /* optional arguments */ )