Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public enum ExitStatus {
DRIVER_TO_BUILDER_ERROR(21),
WATCHDOG_EXIT(30),
REBUILD_AFTER_ANALYSIS(40),
// podman can exit 125 if container does not need building
CONTAINER_REUSE(125),
MISSING_METADATA(172),
UNKNOWN(255);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ protected int buildImage(List<String> javaArgs, LinkedHashSet<Path> cp, LinkedHa
}
int exitStatusCode = bundleSupport.containerSupport.initializeImage();
switch (ExitStatus.of(exitStatusCode)) {
case OK -> {
case OK, CONTAINER_REUSE -> {
}
case BUILDER_ERROR -> {
/* Exit, builder has handled error reporting. */
Expand Down