aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-11-13 23:19:47 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-11-13 23:24:59 +0530
commit3728752dc6d858c3b9a830ae67a26ec259721f78 (patch)
treec32f918affb5012d402ae8d5f0689fb540063d7e
parent47c13a4ef8fe5f040b5fe3408ca333ba9b1174c0 (diff)
post-build-lava: replace download url support
hikey has boot_fat image submitted for testing. This will simplify how we create our job templates Change-Id: I44b5995f08e32d3be44dc80fb9b7f7661ef468f4 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xbuild-scripts/post-build-lava.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index 1ad8c0b..7971890 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -714,6 +714,7 @@ def submit_job_from_url():
userdata_subst = "%s%s%s" % (download_url, "/userdata.", file_extension)
cache_subst = "%s%s%s" % (download_url, "/cache.", file_extension)
+ replace("job.json", "%%DOWNLOAD_URL%%", download_url)
replace("job.json", "%%ANDROID_BOOT%%", boot_subst)
replace("job.json", "%%ANDROID_SYSTEM%%", system_subst)
replace("job.json", "%%ANDROID_DATA%%", userdata_subst)