In some occasions a runtime error causes a Jenkins Workflow build to crash, but Jenkins still sees this as a running build. Aborting the job is not possible in de Jenkins Gui. How can I abort or delete such a build?
Asked
Active
Viewed 1,201 times
3 Answers
0
I restart jenkins. I'm not happy with it though.
-
1Restarting Jenkins doesn't work. The zombie jobs survive a restart :) – mipmip Feb 26 '15 at 07:19
0
You can disconnect a slave node even when it's running a build. Once you reconnect the slave, there should be no jobs running on it.

LeoLiu
- 87
- 5
-
-
I read the below comment that the build still survives after restart on the master. You might have luck going into your Jenkins directory (which you can find under Manage Jenkins>Configure System), then go into the jenkins/jobs/[jobname]/builds/ directory, and try removing the build that's running manually. Both the directory and the link. – LeoLiu Feb 26 '15 at 18:33
-
I did try to remove the directory, maybe I forgot the link. I'll try this again. – mipmip Feb 26 '15 at 18:39