mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
... so that a failure to delete one directory will not prevent the rest from deleted.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22271 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
6fb51882fc
commit
b989611ea8
1 file changed
+7
-7
@@ -90,14 +90,14 @@ public class TemporaryDirectoryAllocator {
|
||||
|
||||
new Thread("Disposing "+base) {
|
||||
public void run() {
|
||||
try {
|
||||
for (File dir : tbr)
|
||||
for (File dir : tbr)
|
||||
try {
|
||||
new FilePath(dir).deleteRecursive();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}.start();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user