Created
July 28, 2018 13:32
-
-
Save manku-timma/e1314f0ebc8071812a1bcb18b13b7874 to your computer and use it in GitHub Desktop.
Download the latest unit test run status for Apache Spark 2.2.1 from AMPLab Jenkins instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
import requests | |
response = requests.get('https://amplab.cs.berkeley.edu/jenkins/job/spark-branch-2.2-test-maven-hadoop-2.6/lastSuccessfulBuild/api/json') | |
parsed = json.load(sys.stdin) | |
print json.dumps(parsed['actions'][7], indent=4, sort_keys=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment