我想将快照构建从 Bamboo 部署到 Artifactory。我的存储库的Handle Snapshots
选项被选中,它Maven Snapshot Version Behavior
被设置为Unique
. 存储库的布局是gradle-default
.
我的目标是制定一个在类似于以下位置的位置部署工件的构建计划:
repo-local:com.company/project/1.0-SNAPSHOT/project-1.0-20120612.101600.txt
在 Bamboo 中,我有一个Artifactory Generic Deploy Task
, 为该Edit Published Artifacts
字段配置了以下内容:
project-1.0-SNAPSHOT.txt=>com.company/project/1.0-SNAPSHOT
但是 Artifactory 拒绝了我的构建工件,说The repository 'repo-local' rejected the artifact 'repo-local:com.company/project/1.0-SNAPSHOT/project-1.0-SNAPSHOT.txt' due to its snapshot/release handling policy.
如何让 Artifactory 接受工件并自动替换SNAPSHOT
为文件名中的时间戳?