Back to index
Summary
Creates a new gate for a stage.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. Possible values: "POST" , "PRE" 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
Perl
$cmdr->createGate( "test-projectName", # projectName "test-stageName", # stageName "test-gateType" # gateType # optionals );
ectool
ectool createGate \ "test-projectName" `# projectName` \ "test-stageName" `# stageName` \ "test-gateType" `# gateType` \ # optionals