mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
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
This commit is contained in:
1 parent
6cf4165a55
commit
dfacf6eab5
1 file changed
+1
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user