aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-21 20:06:56 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-03-21 20:06:56 +0000
commitda204000d004ec58f082dc4861b72975fb9f7040 (patch)
tree26ed1e6c3fd7676c577ff31c77473078efcfc61a /jjb
parent3221035b87dea8685561c205ec13c66101c53dc3 (diff)
parent4374ea7f2118d02a2419536fd1fa668de65160c1 (diff)
Merge "run-test-short: Check the existence of the 'build-info' file"
Diffstat (limited to 'jjb')
-rw-r--r--jjb/common/include-agl-run-test-short.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh
index c397f126..6fb72ac8 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -9,8 +9,10 @@ set -x
cd $REPODIR
#cat build-info
-cat tmp/deploy/images/${TARGETMACHINE}/build-info
-source tmp/deploy/images/${TARGETMACHINE}/build-info
+if [ -e tmp/deploy/images/${TARGETMACHINE}/build-info ]; then
+ cat tmp/deploy/images/${TARGETMACHINE}/build-info
+ source tmp/deploy/images/${TARGETMACHINE}/build-info
+fi
echo "# LAVA lab target: ${LAVA_LAB} #"
# releng-scripts depends on jinja2 >= 2.9