使用
2022世界杯阿根廷预选赛赛程resources:—name:type: DistributionRule configuration: sourceDistribution: <分发集成名称> serviceName: #必选,仅当与分发1一起使用时。x siteName: cityName: countryCodes: - - . x siteName: cityName: countryCodes: - - . x
标签
的名字
一个字母数字标识资源的字符串(允许使用下划线)。
类型
必须DistributionRule
对于此资源类型。
配置
指定资源的所有配置选择。
标签 |
描述 |
必需的/可选 |
---|---|---|
sourceDistribution |
的名称分布的集成. | 要求 |
名 |
带有通配符模式的Artifactory Edge Node服务名。 | 仅当与分布的1.倍 |
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边缘节点国家代码 |