From ba3f4e5c44364c3ca213c7992c20c966b7a7bbd2 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Mon, 23 Mar 2020 22:12:12 +0100 Subject: Fail if the SDK is not available Enforce the build and fail when the SDK is not available. Bug-AGL: SPEC-2931 Signed-off-by: Jan-Simon Moeller Change-Id: I1297f8cfa28c7a8276dc26463da8a3036ac47c83 --- jjb/common/include-apps-fetch-install-sdk.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'jjb/common/include-apps-fetch-install-sdk.sh') diff --git a/jjb/common/include-apps-fetch-install-sdk.sh b/jjb/common/include-apps-fetch-install-sdk.sh index 5bcd4611..0d231865 100644 --- a/jjb/common/include-apps-fetch-install-sdk.sh +++ b/jjb/common/include-apps-fetch-install-sdk.sh @@ -47,9 +47,7 @@ export TARGETSDKNAME=$(curl -s "$SDKBASEURL" | grep -e "crosssdk.*\.sh<" | sed - if test x"" = x"${TARGETSDKNAME}" ; then echo "Could not retrieve TARGETSDKNAME from download.automotivelinux.org" - echo "Abort gracefully." - exit 0 - #exit 1 + exit 1 fi #set -x if test ! -f ${TARGETSDKNAME} ; then -- cgit 1.2.3-korg