Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/s/t/statusboard-HEAD/statusboard/plugins/jenkins/models.py   statusboard(Download)
            api_url = server_url+'api/json/?tree=jobs[name,url,healthReport[description,score],lastBuild[building,timestamp],lastCompletedBuild[result],lastSuccessfulBuild[duration]]'
            try:
                data = json.load(urllib2.urlopen(api_url))
            except urllib2.URLError:
                # Server unreachable, remove all jobs