提交 dfacf6ea 编写于 作者: K kohsuke

delete the config file first, so that even if the request doesn't fully...

delete the config file first, so that even if the request doesn't fully complete, the job won't be resurrected.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21575 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6cf4165a
......@@ -274,6 +274,7 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
* Does the real job of deleting the item.
*/
protected void performDelete() throws IOException, InterruptedException {
getConfigFile().delete();
Util.deleteRecursive(getRootDir());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册