简体   繁体   English

Jenkins-从Artifactory加速下载

[英]Jenkins - download from an Artifactory speedup

We are using jenkins pipeline job to download a folder from Artifactory. 我们正在使用jenkins管道作业从Artifactory下载文件夹。 Is there a way to speed it up? 有没有办法加快速度? To pass somehow number of nproc that can be used? 通过某种方式可以使用的nproc数量? Something like in a jfrog cli? 像jfrog cli中的东西?
jfrog cli: jfrog cli:

jfrog rt dl --threads=`nproc`....

How can we pass the same in Jenkins declarative pipeline job? 我们如何在詹金斯的声明式管道工作中传递相同的信息?
In Jfrog documentation - no mentioning for that :( 在Jfrog 文档中 -没有提及:(

You can use --limit option with --sort-order. 您可以将--limit选项与--sort-order结合使用。 It will download the latest artifactory. 它将下载最新的工件。

For eg jfrog rt dl "my-local-repo/all-my-frogs/" --sort-by=created --sort-order=desc --limit=1 例如对于jfrog rt dl“ my-local-repo / all-my-frogs /” --sort-by = created --sort-order = desc --limit = 1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Jenkins中的Artifactory插件有条件地从工件下载文件 - Use the Artifactory Plugin in Jenkins to conditionally download files from artifactory 无法直接从 jenkins url 下载工件文件 - Not able to download the artifactory file directly from the jenkins url Jenkins 管道 + Artifactory 下载未下载 - Jenkins pipeline + Artifactory download not downloading 使用Jenkins下载Artifactory工件并进行部署 - Download Artifactory artifact using Jenkins and deploy 从Jenkins Pipeline发布到Artifactory - publishing to Artifactory from Jenkins Pipeline 如何使用 Curl 命令在没有插件的情况下将最新的工件从 jfrog Artifactory 存储库下载到 jenkins 声明管道? - How to download the LATEST artifact from jfrog Artifactory repository to jenkins declarative pipeline without plugin using Curl command? jenkins控制台输出日志中创建的链接无法从工件下载war文件 - Not able to download war file from artifactory by the link created in jenkins console output log 如何从 Jenkins pipeline artifactory plugin 下载 artifact md5 checksum - How to download the artifact md5 checksum from Jenkins pipeline artifactory plugin 詹金斯和Artifactory - Jenkins & Artifactory Artifactory Jenkins 插件下载命令不遵守规范中的构建信息 - Artifactory Jenkins plugin download command not honouring build info in spec
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM