Skip to content

Commit

Permalink
fix update job upload jar and build failed
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyi01 committed Sep 25, 2024
1 parent 8baf156 commit 6b2d949
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,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 6b2d949

Please sign in to comment.