0

I performed a manual clean by deleting job folders directly into the filesystem, and now I find a stucked running job that I cannot abort.

I've tried the answers here to force it to be stopped, but it doesn't work as it is not able to find the existing job in the system.

Additionally, when I click over the running job I get a 404 error:

"Problem accessing <route_to_job_that_doesnt_exist_anymore>"
Reason: Not found

Is there something I can do to abort this running job without restarting the server?

Zumo de Vidrio
  • 2,021
  • 2
  • 15
  • 33

1 Answers1

0

A way to stop a build (Like actually aborting it) is by adding a /stop at the end of the job url, behind the Build Number. Example: http://myjenkins/project/123/stop

If this doesn't work, there is also the "Hard Kill". Instead of adding /stop you add /kill. I guess you need Admin Access for that POST action.

Don't know though if it works for jobs that don't exist on the Jenkins Host anymore due to missing filesystems

Sawor
  • 1
  • 1