← Back to team overview

python-jenkins-developers team mailing list archive

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

 

Public bug reported:

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.

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups