commit 5c44d7c9ecc6d8e92a935ac7b3a0262016d6ebb0
Author: Guillaume DeMengin <email address hidden>
Date: Sat Nov 26 19:35:37 2022 +0100
get_build_artifact_as_bytes to support non-json files
new function get_build_artifact_as_bytes to replace get_build_artifact (incompatible with artifacts not json-formatted)
+ use a stream to download binary artifacts
all artifacts are returned as bytes to avoid encoding issues
and an exception NotFoundException is raised in case of missing artifact
Reviewed: https:/ /review. opendev. org/c/jjb/ python- jenkins/ +/841640 /opendev. org/jjb/ python- jenkins/ commit/ 5c44d7c9ecc6d8e 92a935ac7b3a026 2016d6ebb0
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 5c44d7c9ecc6d8e 92a935ac7b3a026 2016d6ebb0
Author: Guillaume DeMengin <email address hidden>
Date: Sat Nov 26 19:35:37 2022 +0100
get_ build_artifact_ as_bytes to support non-json files
new function get_build_ artifact_ as_bytes to replace get_build_artifact (incompatible with artifacts not json-formatted)
+ use a stream to download binary artifacts
all artifacts are returned as bytes to avoid encoding issues
and an exception NotFoundException is raised in case of missing artifact
Closes-Bug: #1973243 19ed4d760404adb 7d1ac6b5509
Change-Id: I24ce4ecd854f8a