summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-05-02 12:14:44 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-05-02 06:45:47 +0000
commit2e85b0059b98831f16072d70e139efce315da369 (patch)
tree08f50fdc4d2ac8917d9ac0175591a4e3d1785d06
parent38f88bd93fa1dd3043df033a24e2f8f396c5c87a (diff)
downloadpost-build-lava-2e85b0059b98831f16072d70e139efce315da369.tar.gz
replace REFERENCE_BUILD_URL keyword
We use prebuilt images for testing with kernel so we will rely on this param for job to submit prebuilt images Change-Id: I6b0a66f4b024633e9121a9cf9fb3a89f0e7c506c Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xpost-build-lava.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-build-lava.py b/post-build-lava.py
index 14afb1b..c12b8d5 100755
--- a/post-build-lava.py
+++ b/post-build-lava.py
@@ -299,6 +299,7 @@ def submit_job_from_url():
replace("job.json", "%%GERRIT_PATCHSET_NUMBER%%", os.environ.get("GERRIT_PATCHSET_NUMBER", ""))
replace("job.json", "%%GERRIT_CHANGE_URL%%", os.environ.get("GERRIT_CHANGE_URL", ""))
replace("job.json", "%%GERRIT_CHANGE_ID%%", os.environ.get("GERRIT_CHANGE_ID", ""))
+ replace("job.json", "%%REFERENCE_BUILD_URL%%", os.environ.get("REFERENCE_BUILD_URL", ""))
# LAVA server URL
lava_server = os.environ.get('LAVA_SERVER',