开发者

Hudson - job is stuck, how to kill it?

开发者 https://www.devze.com 2023-01-02 16:57 出处:网络
I have a job running under Hudson that has not progressed from \"Started by user anonymous\". How can I stop it? I tried restarting the Hudson server but it just resumed the job on startup.

I have a job running under Hudson that has not progressed from "Started by user anonymous". How can I stop it? I tried restarting the Hudson server but it just resumed the job on startup.

It can't be kille开发者_StackOverflowd by the normal cancel build button.

Thanks.


Check your build process to make sure that it's not waiting for interactive input. For example, if you run over ssh, and the server isn't in the known hosts file, maybe it's waiting for you to authorize the fingerprint. Likewise, if you haven't setup automatic key exchange, maybe it's waiting for you to enter a password.


Hudson was waiting for SVN to respond - SVN was waiting for the permission for my id to use the repository. Once this was there Hudson started working again.

I would presume that in this instance there would have been an SVN process I would have needed to kill in order to get Hudson to respond again.


I had a similar issue where the job was stuck at its early stage. I did the following and got it to work. Not sure what exactly did the trick.

  1. ssh to the build node, which the job is attached to and clean its workspace
  2. sudo /etc/init.d/hudson restart to restart the service on the Hudson server.
  3. re-enter the source code credentials
  4. start the build job
0

精彩评论

暂无评论...
验证码 换一张
取 消