如何从 artifactory 下载文件夹 artifact
How to download folder artifact from artifactory
我需要从 shell 脚本上的 artifactory 下载工件级文件夹。我找到了一些相同的主题,但没有找到解决方案。请给我解决方案。
使用专业版 Artifactory 时,您可以使用 this REST API 下载完整文件夹。
给非 PRO 用户的提示:
- 通过 GUI 转到存储库路径(例如 http://artifactory.mycompany.com:8081/artifactory/list/libs-release-local/path/to/my/folder/
- 使用文件夹递归地 WGET 内容(例如 wget -r --no-parent -nH --cut-dirs=4 --proxy=off http://artifactory.mycompany.com:8081/artifactory/list/libs-release-local/path/to/my/folder/)
我需要从 shell 脚本上的 artifactory 下载工件级文件夹。我找到了一些相同的主题,但没有找到解决方案。请给我解决方案。
使用专业版 Artifactory 时,您可以使用 this REST API 下载完整文件夹。
给非 PRO 用户的提示:
- 通过 GUI 转到存储库路径(例如 http://artifactory.mycompany.com:8081/artifactory/list/libs-release-local/path/to/my/folder/
- 使用文件夹递归地 WGET 内容(例如 wget -r --no-parent -nH --cut-dirs=4 --proxy=off http://artifactory.mycompany.com:8081/artifactory/list/libs-release-local/path/to/my/folder/)