python-jenkins/jenkins
Ardar Martian 0d7b59f5d2 get_running_builds failed when server has a path
When the server has an URL path such as http://example.org/ci/, the
get_running_builds() would fail to extract the job name from the
executor informations.  It most probably fails when using CloudBees
folder as well.

Relax the regex used to detect the job name by changing match() with
search().

Update JenkinsListRunningBuildsTest so it craft the URLs based on the
test scenario (make_url) instead of hardcoding them.  That would have
caught the bug. See 2aa1a5f1 which introduced the scenarios.

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I1b69adf121ee74e3336ac9bd1d4d55797fb72de5
2016-11-08 10:47:04 +01:00
..
__init__.py get_running_builds failed when server has a path 2016-11-08 10:47:04 +01:00
plugins.py Use str as base class for PluginVersion 2015-09-29 18:08:21 +01:00
urllib_kerb.py Make the kerberos support python3 ready 2016-04-29 19:30:24 +02:00
version.py Setup pbr versioning for docs 2014-09-26 09:12:54 -07:00