summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-04-04 12:55:56 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-04-04 12:55:56 +0530
commite7c57f4f7953affb9105c7883b777f367e30c34c (patch)
tree14f653eeee1178e629cb7dfbb5f9f73ba6b2b8c3
parentf2c3aa7ea779e4ee563d4d5d8b4c7fde578da108 (diff)
downloadpost-build-lava-e7c57f4f7953affb9105c7883b777f367e30c34c.tar.gz
inject ART_TOKEN
Change-Id: I552fcba8b0b7a54c93cd26d55e1d2c57f6f05fcb 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 c43acde..d49a015 100755
--- a/post-build-lava.py
+++ b/post-build-lava.py
@@ -292,6 +292,7 @@ def submit_job_from_url():
replace("job.json", "%%JOB_NAME%%", job_name)
replace("job.json", "%%ANDROID_META_BUILD%%", build_number)
replace("job.json", "%%ANDROID_META_URL%%", os.environ.get("BUILD_URL"))
+ replace("job.json", "%%ART_TOKEN%%", os.environ.get("ART_TOKEN"))
replace("job.json", "%%BUNDLE_STREAM%%", os.environ.get('LAVA_STREAM', '/private/team/linaro/android-daily/'))
replace("job.json", "%%WA2_JOB_NAME%%", build_number)
replace("job.json", "%%DOWNLOAD_URL%%", download_url)