aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-06-26 22:07:35 +0000
committerKevin Hilman <khilman@baylibre.com>2017-06-26 22:07:40 +0000
commit4af741ce23f98760d8486ca209d98b27d03a824d (patch)
treea7ccd0861808fda65b692b3597163973df0d9afe /jjb/common
parenta071b7895b5eaf1967a26a43c0d61746576edbf1 (diff)
allow override of DEVICE_URL_PREFIX
To facilitate local testing with customized upload location, allow override of DEVICE_URL_PREFIX. Note that this patch does not change the default. Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-run-test-prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh
index 36f5a7a4..b7c18cf9 100644
--- a/jjb/common/include-agl-run-test-prepare.sh
+++ b/jjb/common/include-agl-run-test-prepare.sh
@@ -62,7 +62,7 @@ export DEVICE_URL_PREFIX='https://download.automotivelinux.org/AGL/upload/ci/'
# import device defaults. Format 'a=b'
-for i in DEVICE_TYPE DEVICE_NAME DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT DEVICE_NBDROOT_COMPRESSION DEVICE_BOOT_METHOD DEVICE_BOOT_TYPE; do
+for i in DEVICE_TYPE DEVICE_NAME DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT DEVICE_NBDROOT_COMPRESSION DEVICE_BOOT_METHOD DEVICE_BOOT_TYPE DEVICE_URL_PREFIX; do
if grep -q $i $ENVFILE ; then
X=$(grep $i $ENVFILE | sed -e "s#${i}=##g" -e "s#;.*##g")
eval export ${i}=${X}