使用
2022世界杯阿根廷预选赛赛程resources:—name:type: DistributionRule configuration: sourceDistribution: <分布集成名称> serviceName: siteName: cityName: countryCodes:— - . resourcename: type: DistributionRule configuration: sourceDistribution: <分配集成名称> serviceName: siteName: cityName: countryCodes:— -
标签
的名字
一个字母数字标识资源的字符串(允许使用下划线)。
类型
必须DistributionRule
对于此资源类型。
配置
指定资源的所有配置选择。
标签 |
描述 |
必需的/可选 |
---|---|---|
sourceDistribution |
的名称分布的集成 | 要求 |
名 |
带有通配符模式的Artifactory Edge Node服务名。 | |
siteName |
使用通配符模式指定的Artifactory Edge Node站点名称。 | |
某个 |
使用通配符模式的Artifactory Edge Node城市名称。 | |
countryCodes |
Artifactory边缘节点国家代码。 |
环境变量
每当DistributionRule
在步骤中使用时,将自动提供一组可在步骤中使用的环境变量。
环境变量 |
描述 |
---|---|
res_ < resource_name > _name |
资源名称 |
res_ < resource_name > _servicename |
Artifactory Edge Node服务名称 |
res_ < resource_name > _sitename | Artifactory Edge Node站点名称 |
res_ < resource_name > _cityname | Artifactory边缘节点城市名称 |
res_ < resource_name > _countrycodes | Artifactory边缘节点国家代码 |