How to stop an unstoppable zombie job on Jenkins without restarting the server?

前端 未结 27 1618
南旧
南旧 2020-11-27 09:18

Our Jenkins server has a job that has been running for three days, but is not doing anything. Clicking the little X in the corner does nothing, and the console output log do

27条回答
  •  死守一世寂寞
    2020-11-27 09:51

    Here is how I fixed this issue in version 2.100 with Blue Ocean

    • The only plugins I have installed are for bitbucket.
    • I only have a single node.

    ssh into my Jenkins box
    cd ~/.jenkins (where I keep jenkins)
    cd job//branches//builds
    rm -rf

    After this, you can optionally change the number in nextBuildNumber (I did this)

    Finally, I restarted jenkins (brew services restart jenkins) This step will obviously be different depending how you manage and install Jenkins.

提交回复
热议问题