aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-bitbake-image.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-05 21:58:07 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-05 21:58:07 +0100
commitbc3be24607f3b34cdbb6c7b07e20f28acffc0a67 (patch)
tree8669d14307ebd88205d9087a518b97c7fc11e1dd /jjb/common/include-agl-bitbake-image.sh
parent32e2a957b0e53ebbef3642e17d54d26642452b3d (diff)
Rework release job and build sdk
Change-Id: I60ee7883109d7227eb4e8d087b7128cd3e5a9095 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-bitbake-image.sh')
-rw-r--r--jjb/common/include-agl-bitbake-image.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/common/include-agl-bitbake-image.sh b/jjb/common/include-agl-bitbake-image.sh
index 2196d8a7..73607cb5 100644
--- a/jjb/common/include-agl-bitbake-image.sh
+++ b/jjb/common/include-agl-bitbake-image.sh
@@ -6,6 +6,7 @@
################################################################################
# finally, build the agl-demo-platform (we retry to catch the tar-native bug)
-bitbake $TARGETIMAGE || bitbake $TARGETIMAGE
+( ( bitbake $TARGETIMAGE ) || ( echo '## Failed once, retry .. ##' ; sync ; sleep 2 ; bitbake $TARGETIMAGE ) ) || ( echo '## Failed again, bail out ...' ; exit 1 )
+
du -hs tmp/deploy/*