Builds the O3 backend

Build: #196 failed Changes by OpenMRS Administrator

Stages & jobs

  1. Default Stage

Logs

The following logs have been generated by the jobs in this plan.
  • Expand all
  • Collapse all
Job Logs
Collapse Build and Publish the Backend Image Default Stage Download or View
01-Sep-2025 07:08:32 #16 DONE 0.1s
01-Sep-2025 07:08:32
01-Sep-2025 07:08:32 #17 [linux/arm64 dev  5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi
01-Sep-2025 07:08:33 #17 0.281 exec /bin/sh: exec format error
01-Sep-2025 07:08:33 #17 ERROR: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 255
01-Sep-2025 07:08:33
01-Sep-2025 07:08:33 #15 [linux/amd64 dev  1/11] FROM docker.io/openmrs/openmrs-core:dev-amazoncorretto-17@sha256:a60e88672bdb3ef0cece78a5d6dc5aa8f58558a673133ed21413c1596c997afb
01-Sep-2025 07:08:33 #15 extracting sha256:b384aba76dbc237c79169c94fb8f91033bc0d4135757a811ee7a651d1dc73154 0.6s done
01-Sep-2025 07:08:33 #15 DONE 0.8s
01-Sep-2025 07:08:33
01-Sep-2025 07:08:33 #18 [linux/amd64 dev  2/11] WORKDIR /openmrs_distro
01-Sep-2025 07:08:33 #18 CANCELED
01-Sep-2025 07:08:33 ------
01-Sep-2025 07:08:33 > [linux/arm64 dev  5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
01-Sep-2025 07:08:33 0.281 exec /bin/sh: exec format error
01-Sep-2025 07:08:33 ------
01-Sep-2025 07:08:33 Dockerfile:16
01-Sep-2025 07:08:33 --------------------
01-Sep-2025 07:08:33   14 |     ARG CACHE_BUST
01-Sep-2025 07:08:33   15 |     # Build the distro, but only deploy from the amd64 build
01-Sep-2025 07:08:33   16 | >>> RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi
01-Sep-2025 07:08:33   17 |     
01-Sep-2025 07:08:33   18 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
01-Sep-2025 07:08:33 --------------------
01-Sep-2025 07:08:33 ERROR: failed to solve: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 255