aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short-guppy.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2019-03-21 15:25:47 -0700
committerKevin Hilman <khilman@baylibre.com>2019-03-21 15:26:10 -0700
commit07f140e2ad006f544dc3ce4b383d8c60fa42dc79 (patch)
tree835825147983345c14ba1e3c701e8bab8824b6b0 /jjb/common/include-agl-run-test-short-guppy.sh
parentd5812e6dbb6f425a3afd30341def8adb09f96f3a (diff)
jjb/common: run-test-short: fetch/source build-info
Before trying to cat/source build-info, we have to fetch it from the location where it was uploaded during the main build phase. Change-Id: Ic9d8916a3a349f3b29cb2d5ef558c78729703908 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short-guppy.sh')
-rw-r--r--jjb/common/include-agl-run-test-short-guppy.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-short-guppy.sh b/jjb/common/include-agl-run-test-short-guppy.sh
index 29085064..634d9153 100644
--- a/jjb/common/include-agl-run-test-short-guppy.sh
+++ b/jjb/common/include-agl-run-test-short-guppy.sh
@@ -7,8 +7,16 @@
set -x
+UPLOAD_URL_BASE=https://download.automotivelinux.org/AGL/upload/ci
+UPLOAD_URL=${UPLOAD_URL_BASE}/${RELEASE_BRANCH}/${RELEASE_VERSION}/${MACHINE}/deploy/images/${TARGETMACHINE}
+
cd $REPODIR
-source tmp/deploy/images/${TARGETMACHINE}/build-info
+
+wget -q ${UPLOAD_URL}/build-info
+if [ -e build-info ]; then
+ cat build-info
+ source build-info
+fi
echo "# LAVA lab target: ${LAVA_LAB} #"
# releng-scripts depends on jinja2 >= 2.9