How can I download last artifact in Artifactory?

后端 未结 3 1759

I have some artifacts in Artifactory (OpenSource):

I can download an artifact from using jfrog CLI:

jfrog rt config --user=         


        
3条回答
  •  死守一世寂寞
    2021-01-13 03:46

    JFrog CLI recently started supporting 3 new options from many of the Artifactory commands: --sort-by --sort-order and --limit.

    You can use these options to search, download, copy, move or delete the latest artifact created in Artifactory. For example, to download the latest file uploaded to the all-my-frogs folder in the my-local-repo repository, use the following command:

    jfrog rt dl  "my-local-repo/all-my-frogs/" --sort-by=created
    --sort-order=desc --limit=1
    

提交回复
热议问题