jenkins-cli
jenkins-cli copied to clipboard
Add a cache support for the downloading of jenkins.war
Is your feature request related to a problem? Please describe. We might want to download different versions of jenkins.war for multiple times. It's slow for downloading the same file.
Describe the solution you'd like The cache directory structure could be like this:
~/.jenkins-cli
++cache
++++2.190
Describe alternatives you've considered None.
Additional context None.
Could I ask the jar download to where? JCLI local or Jenkins local?
When I download jenkins.war by jcli center download --war-version 2.190.3
. What I want to cache jenkins.war into .jenkins-cli/cache/2.190.3
.
My native test of jcli center download --war-version <tag>
is very slow. Obviously not as fast as downloading directly