commit
7fc5c4bb6c
|
@ -121,6 +121,7 @@ public interface BuildLog {
|
|||
* Log that a cache cleanup step was not completed successfully.
|
||||
* @param cache the cache
|
||||
* @param exception any exception that caused the failure
|
||||
* @since 3.2.6
|
||||
*/
|
||||
void failedCleaningWorkDir(Cache cache, Exception exception);
|
||||
|
||||
|
|
|
@ -337,9 +337,9 @@ class BootBuildImageIntegrationTests {
|
|||
cleanupCache(launchCachePath);
|
||||
}
|
||||
|
||||
private static void cleanupCache(Path buildCachePath) {
|
||||
private static void cleanupCache(Path cachePath) {
|
||||
try {
|
||||
FileSystemUtils.deleteRecursively(buildCachePath);
|
||||
FileSystemUtils.deleteRecursively(cachePath);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// ignore
|
||||
|
|
|
@ -464,9 +464,9 @@ class BuildImageTests extends AbstractArchiveIntegrationTests {
|
|||
});
|
||||
}
|
||||
|
||||
private static void cleanupCache(Path buildCachePath) {
|
||||
private static void cleanupCache(Path cachePath) {
|
||||
try {
|
||||
FileSystemUtils.deleteRecursively(buildCachePath);
|
||||
FileSystemUtils.deleteRecursively(cachePath);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// ignore
|
||||
|
|
Loading…
Reference in New Issue