diff options
author | 2017-01-05 21:58:07 +0100 | |
---|---|---|
committer | 2017-01-05 21:58:07 +0100 | |
commit | bc3be24607f3b34cdbb6c7b07e20f28acffc0a67 (patch) | |
tree | 8669d14307ebd88205d9087a518b97c7fc11e1dd /jjb/common/include-agl-bitbake-sdk.sh | |
parent | 32e2a957b0e53ebbef3642e17d54d26642452b3d (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-sdk.sh')
-rw-r--r-- | jjb/common/include-agl-bitbake-sdk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-bitbake-sdk.sh b/jjb/common/include-agl-bitbake-sdk.sh index ee17ef08..b53a4125 100644 --- a/jjb/common/include-agl-bitbake-sdk.sh +++ b/jjb/common/include-agl-bitbake-sdk.sh @@ -6,6 +6,6 @@ ################################################################################ # finally, build the agl-demo-platform (we retry to catch the tar-native bug) -bitbake -c $TARGETSDK $TARGETIMAGE || bitbake -c $TARGETSDK $TARGETIMAGE +( ( bitbake -c $TARGETSDK $TARGETIMAGE ) || ( echo '## Failed once, retry .. ##' ; sync ; sleep 2 ; bitbake -c $TARGETSDK $TARGETIMAGE ) ) || ( echo '## Failed again, bail out ... ##' ; exit 1 ) du -hs tmp/deploy/* |