summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-04-12 16:39:32 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-04-12 16:39:32 +0530
commit1fc48a155f76db1d34999a4f036640953635d890 (patch)
treecd635a43f0c22d7d87ee47aa964316bfae44a7de
parentb312cc0511fc845926627e908dd49cf4fab101fe (diff)
get right ART_TOKENHEADmaster
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--post-build-report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-build-report.py b/post-build-report.py
index 2343ba5..2954349 100644
--- a/post-build-report.py
+++ b/post-build-report.py
@@ -161,7 +161,7 @@ if __name__ == '__main__':
art_url = os.environ.get("ART_URL", "http://localhost:8000/")
art_token = None
if urlsplit(art_url).netloc.startswith('art-reports'):
- art_token = os.environ.get("ART_TOKEN_ART_REPORTS")
+ art_token = os.environ.get("ART_TOKEN")
elif urlsplit(art_url).netloc.startswith('android-qa-reports'):
art_token = os.environ.get("ART_TOKEN_ANDROID_REPORTS")
else: