← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1572614] [NEW] get_running_builds can't handle job url with prefix

 

Public bug reported:

:Details:
In 'get_running_builds' method on __init__.py , this line try to parse 
a running build url and extract a job name from it.

m = re.match(r'/job/([^/]+)/.*', urlparse(url).path)

But this code can't handle a job url containing a prefix 
(generated when using --prefix option with Jenkisn war file )

** Affects: python-jenkins
     Importance: Undecided
     Assignee: Sunjoo Park (all4dich)
         Status: New


** Tags: url

** Changed in: python-jenkins
     Assignee: (unassigned) => Sunjoo Park (all4dich)

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

Title:
  get_running_builds can't handle job url with prefix

Status in Python Jenkins:
  New

Bug description:
  :Details:
  In 'get_running_builds' method on __init__.py , this line try to parse 
  a running build url and extract a job name from it.

  m = re.match(r'/job/([^/]+)/.*', urlparse(url).path)

  But this code can't handle a job url containing a prefix 
  (generated when using --prefix option with Jenkisn war file )

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