Back to index
Summary
Completes an externally managed job step. Marks the job stepcompleted
when all child steps are completed and updates the step runtime.jobStepIdStringrequiredThe primary key for a job step. exitCodeIntegeroptionalThe exit code of the job step. forceBooleanoptionalInstructs certain API calls to continue, even though doing to might have consequences. For example, if true, for abortJob, alwaysRun steps will be aborted as well; for import, existing objects will be replaced. If true, setDatabaseConfiguration will store the configuration even if it can't be validated. outcomeStringoptionalOverall outcome for a job or step: success, warning, error, or skipped. Possible values: "success" , "warning" , "error" , "skipped" , "notRun" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.completeJobStep( jobStepId: "test-jobStepId" /* optional arguments */ )