python-jenkins/tests
Pascal Hofmann 19e7f7395a Include placeholder tasks in get_running_builds
Pipeline jobs in in Jenkins 2.x appear as placeholder tasks for their
entire lifetime when queried via the API. The fix for #1659787
introduced completly ignoring placeholder tasks. Thus pipeline jobs are
never included in the list returned by get_running_builds.

This commit will change the behaviour of get_running_builds as follows:
  - Placeholder tasks will be included: So running pipeline jobs
    will be included.
  - Builds which do not have a build number yet will be ignored:
    This prevents the exception described in #1659787.

Change-Id: I30351ec78d6186b0674e3c08be00076b0ce2333e
Closes-Bug: #1750372
Related-Bug: #1659787
2019-12-25 08:43:46 +01:00
..
jobs Merge "When updating jobs the response body may be empty" 2019-07-23 15:12:05 +00:00
__init__.py Fixes for this bug. 2012-05-17 16:10:00 +01:00
base.py Test requested URLs in test_getall 2018-10-17 18:06:56 +02:00
helper.py new method: check_jenkinsfile_syntax (with tests) 2019-12-15 23:41:38 -03:00
test_build.py Include placeholder tasks in get_running_builds 2019-12-25 08:43:46 +01:00
test_check_jenkinsfile_syntax.py new method: check_jenkinsfile_syntax (with tests) 2019-12-15 23:41:38 -03:00
test_credential.py Add folder credential support 2018-08-03 06:39:13 +03:00
test_info.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_jenkins.py When updating jobs the response body may be empty 2019-01-07 21:52:19 +01:00
test_jenkins_sockets.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_job_folder.py new method: create_folder (with tests) 2019-12-15 23:57:11 -03:00
test_node.py When updating jobs the response body may be empty 2019-01-07 21:52:19 +01:00
test_plugins.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_promotion.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_queue.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00
test_quiet_down.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_rest_endpoints.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00
test_script.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_version.py When updating jobs the response body may be empty 2019-01-07 21:52:19 +01:00
test_view.py Added folder support in views keeping backward compatibility and added tests for it. 2018-04-05 22:57:34 +02:00
test_whoami.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00