jenkins-cli icon indicating copy to clipboard operation
jenkins-cli copied to clipboard

Add a cache support for the downloading of jenkins.war

Open LinuxSuRen opened this issue 5 years ago • 3 comments

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.

LinuxSuRen avatar Nov 26 '19 03:11 LinuxSuRen

Could I ask the jar download to where? JCLI local or Jenkins local?

yJunS avatar Dec 06 '19 08:12 yJunS

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.

LinuxSuRen avatar Dec 06 '19 08:12 LinuxSuRen

My native test of jcli center download --war-version <tag> is very slow. Obviously not as fast as downloading directly

yJunS avatar Dec 06 '19 09:12 yJunS