← Back to team overview

python-jenkins-developers team mailing list archive

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

 

Released as of  0.4.12

    $ git tag --contains 2aa1a5f1b8fce6fe8bdde3805748a97079da53dc
    0.4.12


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

-- 
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 Released

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