Skip to content

Commit

Permalink
Merge branch '3.2.x' into 3.3.x
Browse files Browse the repository at this point in the history
Closes gh-42081
  • Loading branch information
philwebb committed Sep 2, 2024
2 parents 101ed0e + f587285 commit b29bc2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ void buildsImageWithBindCaches() throws IOException {
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@ void whenBuildImageIsInvokedWithBindCaches(MavenBuild mavenBuild) {
});
}

private static void cleanupCache(Path buildCachePath) {
private static void cleanupCache(Path cachePath) {
try {
FileSystemUtils.deleteRecursively(buildCachePath);
FileSystemUtils.deleteRecursively(cachePath);
}
catch (Exception ex) {
// ignore
Expand Down

0 comments on commit b29bc2d

Please sign in to comment.