Skip to content

Commit

Permalink
Ensure target folder for upload file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
breskeby committed Nov 7, 2023
1 parent deb9137 commit 8c1b67b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public void execute(BuildFinishedFlowAction.Parameters parameters) throws FileNo
if (uploadFile.exists()) {
getFileSystemOperations().delete(spec -> spec.delete(uploadFile));
}
uploadFile.getParentFile().mkdirs();
createBuildArchiveTar(parameters.getFilteredFiles().get(), parameters.getProjectDir().get(), uploadFile);
if (uploadFile.exists() && System.getenv("BUILDKITE").equals("true")) {
String uploadFilePath = "build/" + uploadFile.getName();
Expand Down

0 comments on commit 8c1b67b

Please sign in to comment.