From 07f140e2ad006f544dc3ce4b383d8c60fa42dc79 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Thu, 21 Mar 2019 15:25:47 -0700 Subject: 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 --- jjb/common/include-agl-run-test-short.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'jjb/common/include-agl-run-test-short.sh') diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh index 6fb72ac8..1582a72c 100644 --- a/jjb/common/include-agl-run-test-short.sh +++ b/jjb/common/include-agl-run-test-short.sh @@ -7,11 +7,15 @@ set -x +UPLOAD_URL_BASE=https://download.automotivelinux.org/AGL/upload/ci +UPLOAD_URL=${UPLOAD_URL_BASE}/${GERRIT_CHANGE_NUMBER}/${GERRIT_PATCHSET_NUMBER} + cd $REPODIR -#cat 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 + +wget -q ${UPLOAD_URL}/build-info +if [ -e build-info ]; then + cat build-info + source build-info fi echo "# LAVA lab target: ${LAVA_LAB} #" -- cgit 1.2.3-korg