get_running_builds can't handle job url with prefix

Bug #1572614 reported by Sunjoo Park
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Sunjoo Park

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 )

Tags: url
Sunjoo Park (all4dich)
Changed in python-jenkins:
assignee: nobody → Sunjoo Park (all4dich)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.