【发布时间】:2021-12-28 23:39:02
【问题描述】:
我在 JFrog 中有工件。
例子:
https://test.com/artifactory/users/data-config/1.0.0/user.json
https://test.com/artifactory/users/data-config/1.0.1/user.json
https://test.com/artifactory/users/data-config/2.0.0/user.json
有没有办法可以使用 curl 下载最新版本?就像在这种情况下,它将是
https://test.com/artifactory/users/data-config/2.0.0/user.json
【问题讨论】:
-
ex: newbedev.com/… 研究一下,你会看到很多类似的。
-
@Nic3500 这些文件不是基于 maven 的,所以不确定我们如何使用 artifactory api。
-
在这个例子中,它下载了 maven 文件。但是,如果它们是其他工件,则概念保持不变。 Artifactory 可以存储任何东西。
标签: bash shell curl wget jfrog