python-jenkins/tests
Guillaume DeMengin c0bbc66878 have get_build_artifact support non-json files
remove the json parsing from get_build_artifact to download artifacts not json-formatted
and use a stream to download binary artifacts

all artifacts are returned as binary string to avoid encoding issues

users wishing to parse json artifacts will need to do it outside of this method
(alternative could have been to keep get_build_artifact for json and add
 a new get_binary_build_artifact method but IMHO the json parsing should be done outside)

Closes-Bug: #1973243
Change-Id: I24ce4ecd854f8a19ed4d760404adb7d1ac6b5509
2022-06-12 08:34:41 +02:00
..
jobs Use fullname in get_job_info_regex 2021-12-14 23:39:03 +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 have get_build_artifact support non-json files 2022-06-12 08:34:41 +02:00
test_check_jenkinsfile_syntax.py new method: check_jenkinsfile_syntax (with tests) 2019-12-15 23:41:38 -03:00
test_credential.py Fix reconfig_credential() to send the xml data 2019-12-16 09:32:50 -05:00
test_info.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_jenkins_sockets.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_jenkins.py When updating jobs the response body may be empty 2019-01-07 21:52:19 +01: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