KBEC-00295 – Cleaning up un-abortable jobs

Article ID:360033190931
1 minute readKnowledge base
On this page

Problem

There is a known but rare issue where aborting a job through the UI or the command line does not abort the job and leaves the job in a stuck state.

Solution

Version 10.8 and above

You can run the following command to clear a stalled job. The job and its steps are aborted and marked as completed.

ectool cleanupStalledJob <jobId>

Pre 10.8

Please <a href="https://support.cloudbees.com">contact CloudBees support</a> for help.