提交 00d9bd7c 编写于 作者: K kohsuke

adding a trouble-shooting probe for the next time.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11208 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8bb5e7f5
......@@ -220,6 +220,15 @@ public class Queue extends ResourceController {
for (Task task : tasks) {
add(task, 0);
}
// I just had an incident where all the executors are dead at AbstractProject._getRuns()
// because runs is null. Debugger revealed that this is caused by a MatrixConfiguration
// object that doesn't appear to be de-serialized properly.
// I don't know how this problem happened, but to diagnose this problem better
// when it happens again, save the old queue file for introspection.
File bk = new File(queueFile.getPath() + ".bak");
bk.delete();
queueFile.renameTo(bk);
queueFile.delete();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册