가끔 젠킨스를 돌리다 취소를 해도 계속 도는 경우가 있다. (아무래도 Zombie job이라 부르는 것 같다.)
how-to-stop-an-unstoppable-zombie-job-on-jenkins-without-restarting-the-server
Go to "Manage Jenkins" > "Script Console" and run a script:
Jenkins.instance.getItemByFullName("JobName")
.getBuildByNumber(JobNumber)
.finish(hudson.model.Result.ABORTED, new java.io.IOException("Aborting build"));
반응형
'인프라' 카테고리의 다른 글
Jenkins Tip 추가 (2) | 2021.08.05 |
---|---|
Jenkins 설치 전 확인 할 정보 (0) | 2020.11.07 |
Apache Core dump 이야기 (Tomcat AJP연동시 깨알팁) (0) | 2020.09.09 |
rabbitmq 서버 터트리고 살리기 (akka. file discriptor가 문제다.) (4) | 2018.04.23 |