Skip to content

Commit 2154a68

Browse files
committed
jhbuild: Exit immediately if a module fails to build
There's no point in continuing the build if one module fails to build and this also helps post-mortem CI error diagnostics.
1 parent 546133e commit 2154a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/wkdev_sdk/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ RUN git clone https://gitlab.gnome.org/GNOME/jhbuild.git && \
116116
make && \
117117
make install && \
118118
export JHBUILD_RUN_AS_ROOT=1 WKDEV_IN_IMAGE_BUILD=1 && \
119-
jhbuild --no-interact build && \
119+
jhbuild --exit-on-error --no-interact build && \
120120
rm -r /var/tmp/jhbuild
121121

122122
# Register basic JHBuild environment

0 commit comments

Comments
 (0)