Artifactory-如何将Web服务器中的文件与远程仓库同步

时间:2018-11-09 12:37:38

标签: artifactory

工厂4.14.3 目标是在远程存储库中同步来自https://nvd.nist.gov/的文件。 为此,同步必须是最新的。因此,每天至少清除一次缓存,但最好检查一下带有源的版本。 尝试了cron选项,但这似乎不起作用。

远程仓库的配置:

“基本”标签:

Package Type : Generic
Repository Key : nvd-cve
URL : https://nvd.nist.gov/
General 
Repository Layout : simple default
Remote Layout Mapping : simple default
Public Description :
Internal Description : 
Include Patterns : feeds/xml/cve/**/*
Exclude Patterns : 
Offline : not ticked

Generic
List Remote Folder Items : ticked

JFrog Xray Integration
This Artifactory instance is not connected to Xray.

“高级”标签:

Cache
Unused Artifacts Cleanup Period (Hr) : 1
Metadata Retrieval Cache Period (Sec) : 600
Assumed Offline Period (Sec) : 60
Missed Retrieval Cache Period (Sec) : 60

Others
Blacked Out : not ticked
Allow Content Browsing : ticked
Store Artifacts Locally : ticked
Synchronize Properties : ticked
Propagate Query Params : ticked
Block Mismatching Mime Types : not ticked

“复制”标签:

Enable Active Replication of This Repository : ticked
Cron Expression : 0 0 1/6 * * ?
Sync Deleted Artifacts : ticked
Sync Artifact Properties : ticked
Path Prefix : none given

0 个答案:

没有答案