[英]When distributing a release bundle on Artifactory how do the edge nodes map to the jfrog CLI API?
I'm trying to distribute my release bundles using the jfrog CLI and based on how we have setup our Artifactory instance I'm not sure how the web interface maps to the [CLI API][1].我正在尝试使用 jfrog CLI 分发我的发布包,并且基于我们如何设置 Artifactory 实例,我不确定 web 接口如何映射到 [CLI API][1]。 On the web interface it asks me to select the edge nodes I want to distribute to however, the API talks about sites, cities and country codes.
在 web 界面上,它要求我 select 我想分发到的边缘节点,然而,API 谈论站点、城市和国家代码。 My goal is to distribute to a single one of the edge nodes.
我的目标是分发到单个边缘节点。
[1]: https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Distribution#CLIforJFrogDistribution-DistributingaReleaseBundle%20( [1]: https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Distribution#CLIforJFrogDistribution-DistributingaReleaseBundle%20(
The difference between the UI and REST API/CLI is that: UI 和 REST API/CLI 的区别在于:
The pattern build in the json (distribution_rules): json (distribution_rules) 中构建的模式:
So, in your case site == edge, city and country code are optional params.因此,在您的情况下,站点 == 边缘、城市和国家代码是可选参数。 See Mission Control API for getting list of Destinations: https://www.jfrog.com/confluence/display/JFROG/Mission+Control+REST+API#MissionControlRESTAPI-GetJPDList
查看任务控制 API 获取目的地列表: https://www.jfrog.com/confluence/display/JFROG/Mission+Control+REST+API#MissionControlRESTAPI-GetJPDList
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.