Back to index
Summary
Modifies an existing procedure.projectNameStringrequiredThe name for the project that must be unique among all projects. procedureNameStringrequiredName for the procedure; must be unique within the project. credentialNameStringoptionalThe name of a credential to attach to this procedure. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. jobNameTemplateStringoptionalTemplate used to determine the default name of jobs launched from a procedure. newNameStringoptionalThe new name for an existing object that is being renamed. resourceNameStringoptionalThe name of the default resource for this procedure. timeLimitStringoptionalMaximum amount of time the step can execute; abort if it exceeds this time. timeLimitUnitsStringoptionalUnits for step time limit: seconds, minutes, or hours. Possible values: "hours" , "minutes" , "seconds" workspaceNameStringoptionalThe name of the default workspace for this procedure. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyProcedure( projectName: "test-projectName", procedureName: "test-procedureName" /* optional arguments */ )