bitbake: continue on failure
Add '-k' option to bitbake invocations to get Jenkins builds to continue
after falure as much as possible. This gives us a greater view of
everything that is broken rather than just the first bitbake task which
encountered a problem, hopefully allowing more problems to be fixed at
once.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0c880d6f41160ca9008ca976a8e6d1cfdff81cda
diff --git a/build-setup.sh b/build-setup.sh
index 3fd9fc1..bc590d4 100755
--- a/build-setup.sh
+++ b/build-setup.sh
@@ -369,9 +369,9 @@
# Kick off a build
if [[ -n "${nice_priority}" ]]; then
- nice -${nice_priority} bitbake ${BITBAKE_OPTS} ${bitbake_target}
+ nice -${nice_priority} bitbake -k ${BITBAKE_OPTS} ${bitbake_target}
else
- bitbake ${BITBAKE_OPTS} ${bitbake_target}
+ bitbake -k ${BITBAKE_OPTS} ${bitbake_target}
fi
# Copy internal build directory into xtrct_path directory