问题
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