Skip to content

Commit

Permalink
[assemble] split work directory for each jlink image. Fixes #295
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jul 17, 2021
1 parent c186c2d commit 4ca0bfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private Artifact jlink(Path assembleDirectory, Path jdkPath, Artifact targetJdk,
context.getLogger().info("- {}", finalImageName);

Path inputsDirectory = assembleDirectory.resolve("inputs");
Path workDirectory = assembleDirectory.resolve("work");
Path workDirectory = assembleDirectory.resolve("work-" + targetJdk.getPlatform());
Path imageDirectory = workDirectory.resolve(finalImageName).toAbsolutePath();
try {
FileUtils.deleteFiles(imageDirectory);
Expand Down

0 comments on commit 4ca0bfa

Please sign in to comment.