summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-06-15 13:01:21 +0100
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-06-15 13:01:48 +0100
commit9341e075f62342b55051bdb2d6a2ab1eb48899e9 (patch)
tree6492135f0ca072ae1f81ef99aae8a2192b4ad86f
parent1cde4507be3bdfced3de0f7988346c5429271b73 (diff)
downloadpost-build-lava-9341e075f62342b55051bdb2d6a2ab1eb48899e9.tar.gz
add support for QA_REPORTS_TOKENHEADmaster
Change-Id: I0acaeab80588df631371f89bf05b832aff51bab9 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@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 091e725..009682c 100755
--- a/post-build-lava.py
+++ b/post-build-lava.py
@@ -312,6 +312,7 @@ def submit_job_from_url():
# Inject credentials after the job dump to avoid to leak
replace("job.json", "%%ART_TOKEN%%", os.environ.get("ART_TOKEN"))
replace("job.json", "%%ARTIFACTORIAL_TOKEN%%", os.environ.get("ARTIFACTORIAL_TOKEN"))
+ replace("job.json", "%%QA_REPORTS_TOKEN%%", os.environ.get("QA_REPORTS_TOKEN"))
with open("job.json") as fd:
config = fd.read().strip()