|
|
@@ -117,6 +117,7 @@ public class JavaImageBuildHandler extends AbstractHandler {
|
|
|
}
|
|
|
});
|
|
|
} catch (Exception e) {
|
|
|
+ log.error("镜像构建失败,项目目录为:{}", directory.toString());
|
|
|
context.appendErrorResult(PipelineException.IMAGE_BUILD_ERROR, e);
|
|
|
throw new PipelineException(HttpStatus.SC_SERVICE_UNAVAILABLE, PipelineException.IMAGE_BUILD_ERROR, e);
|
|
|
}
|