pycontribs / jenkinsapi

A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
http://pypi.python.org/pypi/jenkinsapi
MIT License
859 stars 485 forks source link

Feature Idea - Allow downloading all artifacts as a single zip file #801

Open nichogenius opened 4 years ago

nichogenius commented 4 years ago
ISSUE TYPE
Jenkinsapi VERSION

0.3.11

Jenkins VERSION

Jenkins 2.235.5

SUMMARY

Through the web GUI, there is an option on the build screen to download all artifacts in a single .zip file. I can not find an obvious way to do this through JenkinsAPI

EXPECTED RESULTS

Build().save_artifacts_as_zip(self, dir) exists and works.

ACTUAL RESULTS

Saving artifacts must be done one file at a time which can be very slow on high latency connections and causes many requests.

USEFUL INFORMATION