Skip to content

Commit

Permalink
fix update job upload jar and build failed (#4091)
Browse files Browse the repository at this point in the history
Co-authored-by: xieyi01 <[email protected]>
  • Loading branch information
xieyi888 and xieyi01 authored Dec 3, 2024
1 parent b65b87d commit 54c725a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ public void onStart(PipelineSnapshot snapshot) {
if (resource != null && StringUtils.isNotBlank(resource.getFilePath())) {
localJar = new File(resource.getFilePath());
uploadJar = appUploads.concat("/").concat(localJar.getName());
} else {
localJar =
new File(WebUtils.getAppTempDir(), app.getJar());
uploadJar = appUploads.concat("/").concat(localJar.getName());
}
}
// upload jar copy to appHome
Expand Down

0 comments on commit 54c725a

Please sign in to comment.