0

In my company we're having a bad time trying to download with the Artifactoy plugin in Jenkins because we have a lot of tiny files in our repository and apparently the plugin works in a single thread, so it takes a REALLY long time.

We tested the JFrog CLI where we can set the number of threads for the download and that actually works great. Still, we really need to use the original plugin.

Is there any workaround for this?

Maybe it has something to do with the Artifactory server configuration?

Thanks!

Styx
  • 9,863
  • 8
  • 43
  • 53
Asaf Haim
  • 1
  • 1

1 Answers1

0

You can download artifacts in multi-thread using Jrog CLI from your pipeline code.

You can have threads in your Groovy code launching the download command of Jrog CLI.

For example:

$ jfrog rt dl my-local-repo/your-folder/*

Download all artifacts of your folder in the repo to the current directory(in your Jenkins local directory).

Javier C.
  • 7,859
  • 5
  • 41
  • 53
  • As I mentioned, we tested it and it worked really fast as expected but the JFrog CLI is not optimized for Jenkins but is rather a generic solution. One of the pitfalls we came across with it is that it doesn't really save all the Jenkins-specific build information metadata, a thing we require for later promoting the builds. This for example is being done great with the original Jenkins Artifactory plugin – Asaf Haim Oct 19 '17 at 12:12