builders.sh: Run individual build.sh scripts with -x flags
builders.sh itself has "set -ex", but as soon as we call into per-image
build scripts, useful tracing stops. Instead of patching all the individual
scripts, just run them with "bash -x" (as the name "build.sh" suggests, it
should be a shell script, so interpreting it with bash shouldn't be a
regression).
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I0ed79bc42f1931a6d3db454156540c52b15505ea
diff --git a/ci-dockerfiles-deployment/builders.sh b/ci-dockerfiles-deployment/builders.sh
index fea77b3..a5b112c 100644
--- a/ci-dockerfiles-deployment/builders.sh
+++ b/ci-dockerfiles-deployment/builders.sh
@@ -64,7 +64,7 @@
;;
"no:amd64:amd64"|"no:amd64:i386"|"no:arm64:arm64"|"no:armhf:armhf")
echo "=== Start build: ${image} ==="
- ./build.sh || echo "=== FAIL: ${image} ===" >> ${WORKSPACE}/log
+ bash -x ./build.sh || echo "=== FAIL: ${image} ===" >> ${WORKSPACE}/log
;;
*)
echo "Skipping: can't build for ${image_arch} on ${host_arch}"