← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1521527] Re: Does not work with Jenkins instances at non-/ path

 

Fixed with https://review.openstack.org/#/c/231109/

** Changed in: python-jenkins
     Assignee: (unassigned) => Khai Do (zaro0508)

** Changed in: python-jenkins
       Status: New => Fix Committed

-- 
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/1521527

Title:
  Does not work with Jenkins instances at non-/ path

Status in Python Jenkins:
  Fix Committed

Bug description:
  python-jenkins cannot run get_all_jobs against Jenkins instances that
  are configured to serve up at anything other than /.

  I believe that this was introduced by the changes in
  https://github.com/openstack/python-
  jenkins/commit/7267eec4542696b48fea6a07ccdf34c6e887f75f. get_all_jobs
  calls get_info without an item argument, which means that `url =
  "/".join((item, INFO))` ends up producing a URL starting with a /;
  when joined with the URL of the server, this replaces any configured
  path.

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


References