From bc3be24607f3b34cdbb6c7b07e20f28acffc0a67 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 5 Jan 2017 21:58:07 +0100 Subject: Rework release job and build sdk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I60ee7883109d7227eb4e8d087b7128cd3e5a9095 Signed-off-by: Jan-Simon Möller --- jjb/common/include-agl-bitbake-sdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/common/include-agl-bitbake-sdk.sh') 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/* -- cgit 1.2.3-korg