柯南有什么方法可以自动将包上传到artifactory(如果它是用--build=missing构建的)

问题描述 投票:0回答:1

如果使用 --build=missing 新构建了一个包,我想将该包缓存到我们的本地神器服务器中

例如,我们的 jenkins 执行的 grpc 32 位构建需要 20-30 分钟,并且我们只想针对给定版本的 grpc 运行一次

有什么办法可以实现这个目标吗?

jenkins continuous-integration artifactory conan
1个回答
0
投票

package-list
功能可以捕获构建结果,创建可提供给
conan upload
命令的包列表。

类似:

# the build
$conan install --requires="spdlog/[*]" --build="*" --format=json > build.json

# creating a package list from the dependency graph from the build
$ conan list --graph=build.json --graph-binaries=build --format=json > pkglist.json

# uploading the package list
$ conan upload --list=pkglist.json -r=myremote -c

更多详细信息请参见https://blog.conan.io/2023/06/28/Conan-bulk-package-operations.html

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.