OpenShift kill hanging Jenkins pipeline job
It is possible to get zombie Jenkins job which is integrated in OpenShift.
When you will run Groovy script to extract all jobs, possible you can't find any.
What to do?
Go into the JENKINS_HOME folder (usually /var/lib/jenkins).
When you will run Groovy script to extract all jobs, possible you can't find any.
What to do?
Go into the JENKINS_HOME folder (usually /var/lib/jenkins).
cd /var/lib/jenkins/jobsCo into failing job folder.
cd my_jobRemove all workspace forlders.
rm -rf workspace*Remove hanging build folder in the builds folder.
cd builds
rm -rf 345Restart Jenkins pod.
Comments
Post a Comment