Jenkins Zombie Hung Jobs

Jenkins setup:
Jenkins: 2.361.4
OS: Linux - 5.4.0-152-generic
Java: 11.0.18 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)

Hi All,

I’m having an issue where we are having jenkins hung zombie build jobs and we cannot abort these or click and go to the job paths. When we click the job it throws a 404 error also. In front of the job name status is shown as “part”.

We need to get rid of these zombie like jobs without a jenkins restart. Is there anyway? When we try to abort the jobs it displays as below.

“Are you sure you want to abort null?”

1 Like

With the current latest version of Jenkins, I was able to pause and delete the zombie job.
1.) Go to dashboard that shows the job holding open the “Build Executor Status” on the left.
2.) Hover over and click the dropdown of the Zombie job and click “Pause” job.
3.) Once paused, do it again and Delete it.

We face the same issue regularly.
Sadly, it is not possible to even open the Dropdown. It is also not possible to cancel it via script console - it throws a NullPointer.

Even restarting the agent does not remove the zombie job. When opening the path in the UI, the job is not displayed at all.