completeJobStep

Back to index

Summary

Completes an externally managed job step. Marks the job step completed when all child steps are completed and updates the step runtime.
jobStepId
UUIDrequired
The primary key for a job step.
exitCode
Integeroptional
The exit code of the job step.
force
Booleanoptional
Instructs 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.
outcome
Stringoptional
Overall outcome for a job or step: success, warning, error, or skipped.
Possible values: "success", "warning", "error", "skipped", "notRun"

Usage

Perl

$cmdr->completeJobStep( "test-jobStepId" # jobStepId # optionals );

ectool

ectool completeJobStep \ "test-jobStepId" `# jobStepId` \ # optionals

Examples

Perl

$cmdr->completeJobStep(5da765dd-73f1-11e3-b67e-b0a420524153);

ectool

ectool completeJobStep 5da765dd-73f1-11e3-b67e-b0a420524153