summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post-build-report.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/post-build-report.py b/post-build-report.py
index 12700a9..5256be8 100644
--- a/post-build-report.py
+++ b/post-build-report.py
@@ -189,17 +189,6 @@ def main():
qa_reports_url = os.environ.get("QA_REPORTS_URL")
qa_reports_token = os.environ.get("QA_REPORTS_TOKEN")
- 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", None)
- elif urlsplit(art_url).netloc.startswith('android-qa-reports'):
- art_token = os.environ.get("ART_TOKEN_ANDROID_REPORTS", None)
-
- # we use ART_TOKEN keyword in LAVA so we check for that as well
- if art_token is None:
- art_token = os.environ.get("ART_TOKEN")
-
manifest = _get_manifest("./artifacts")
test_jobs = os.environ.get("LAVA_JOB_IDS", None)
results = _results("./artifacts")
@@ -213,9 +202,6 @@ def main():
if jenkins_build_url is None:
logger.error("Build URL not set. Exiting!")
sys.exit(1)
- if art_token is None:
- logger.error("ART token not set. Exiting!")
- sys.exit(1)
if not manifest:
logger.error("Manifest missing. Exiting!")
sys.exit(1)
@@ -251,7 +237,6 @@ def main():
if test_jobs is None:
params.pop('test_jobs')
files = _get_files("./artifacts")
- _push_object(art_token, art_url, RESULT_ENDPOINT, params, files)
params.pop('manifest')
logger.debug(params)