deleteJob

Back to index

Summary

Deletes a job from the CloudBees CD/RO database.
jobId
Stringrequired
The primary key of the job, or the name of the job.
waitForDeleteToComplete
Booleanoptional
If true, wait for the job to finish deleting before returning from the call.

Usage

Perl

$cmdr->deleteJob( "test-jobId" # jobId # optionals );

ectool

ectool deleteJob \ "test-jobId" `# jobId` \ # optionals

Examples

Perl

$cmdr->deleteJob(4fa765dd-73f1-11e3-b67e-b0a420524153, {waitForDeleteToComplete => 0});

ectool

ectool deleteJob 4fa765dd-73f1-11e3-b67e-b0a420524153 --waitForDeleteToComplete 0