Retrieve the latest from a generic repository from artifactory using Curl

我的未来我决定 提交于 2019-12-11 04:46:17

问题


I'm using Artifactory 6.1.0 OSS version.

When I try to retrieve the latest zip that is located in a Generic repo, I can't get the file to download.

i searched the web and found: [

But It's only relevant for the pro version of Atrifactory.

Anyone encounter this problem before?


回答1:


You will need to deploy the artifact according to layout, as explained here

You just need to do it once for a directory, and subsequently all artifacts in the directory can be downloaded using the -[RELEASE] syntax.




回答2:


If you wish to achieve that out of the box, you will need to use features only available in Artifactory Pro: Layouts, Get latest version REST API.



来源:https://stackoverflow.com/questions/51501770/retrieve-the-latest-from-a-generic-repository-from-artifactory-using-curl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!