~pfalcon/linaro-ci-dashboard/kernel_chain

« back to all changes in this revision

Viewing changes to dashboard/lib/jenkins_dashboard.py

  • Committer: Paul Sokolovsky
  • Date: 2012-09-24 08:21:17 UTC
  • Revision ID: paul.sokolovsky@linaro.org-20120924082117-zjap84cugc021h5h
Factor out variable with Jenkins URL to ease debugging.

This regulalrly needs to be dumped to find out what's wrong with Jenkins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    def get_build_info(self, name, build_number):
31
31
 
32
32
        try:
 
33
            url = self.server + self.BUILD_INFO % locals()
33
34
            response = self.jenkins_open(
34
 
                urllib2.Request(self.server + self.BUILD_INFO % locals()))
 
35
                urllib2.Request(url))
35
36
            if response:
36
37
                return json.loads(response)
37
38
            else: