我想從Bamboo部署快照構建到Artifactory。我的存儲庫的Handle Snapshots
選項被選中,它的Maven Snapshot Version Behavior
設置爲Unique
。存儲庫的佈局是gradle-default
。無法將Bamboo快照部署到Artifactory
我的目標是構建計劃部署在一個位置類似於以下的神器:
project-1.0-SNAPSHOT.txt=>com.company/project/1.0-SNAPSHOT
:
repo-local:com.company/project/1.0-SNAPSHOT/project-1.0-20120612.101600.txt
竹我有一個Artifactory Generic Deploy Task
,與配置爲Edit Published Artifacts
場以下
但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 t o接受工件並自動用文件名中的時間戳代替SNAPSHOT
?