Back to index
Summary
Creates and starts a new job using a procedure directly or a procedure specified indirectly through a schedule. Returns a new job ID.projectNameStringrequiredThe name for the project that must be unique among all projects. credentialNameStringoptionalThe name of the credential argument. credentialReferenceParametersArray<CredentialReferenceParameter>optionalList of credential parameters with references to existing credentials as parameter values. If the parameter value is a property reference then the credential would be resolved at runtime. destinationProjectStringoptionalThe project that will own the job. parsedWebhookDataStringoptionalJSON with parsed webhook data to be set on a pipeline/release/procedure run. passwordStringoptionalSecret value used to identify the account for a particular user. priorityStringoptionalThe priority of the job. Possible values: "low" , "normal" , "high" , "highest" procedureNameStringoptionalName for the procedure; must be unique within the project. scheduleNameStringoptionalName for the schedule; must be unique among all schedules for the project. userNameStringoptionalUser name under which you wish to login. webhookDataStringoptionalThe webhook data to be set on the pipeline/release/procedure run. webhookHeadersStringoptionalThe webhook headers in JSON format to be set on the pipeline/release/procedure run. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.runProcedure( projectName: "test-projectName" /* optional arguments */ )