← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1526846] Re: JenkinsException: Could not parse JSON info for server[xxxx]

 

PATCH Example

@@ -452,8 +453,7 @@
             u'name': u'my_job'}
 
         """
-        # url = "/".join((item, INFO))
-        url = '/'.join((item, INFO)).lstrip('/')
+        url = "/".join((item, INFO))
         if query:
             url += query
         try:

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1526846

Title:
  JenkinsException: Could not parse JSON info for server[xxxx]

Status in Python Jenkins:
  New

Bug description:
  get instance ok 
  can not get all views 

  solution def get_info : 
  change 
  url = "/".join((item, INFO)) 
  to 
  url = '/'.join((item, INFO)).lstrip('/')

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1526846/+subscriptions


References