简体   繁体   English

Jenkins Artifactory插件忽略了Maven UniqueVersion

[英]Jenkins Artifactory Plugin ignoring Maven UniqueVersion

I am facing an issue with the Jenkins Artifactory plugin. 我遇到了Jenkins Artifactory插件的问题。 When I deploy to Artifacfory using Maven3 (as uniqueVersion is now by default true) the Jars have a timestamp suffixed to their names. 当我使用Maven3部署到Artifacfory时(​​由于uniqueVersion现在默认为true),罐子的名称后缀有时间戳。 However, while running a custom job for deploying to Artifactory that uses the Artifacory plugin, the plugin is not appending the timestamp. 但是,在运行用于使用Artifacory插件部署到Artifactory的自定义作业时,该插件不会附加时间戳。 Is there any way I could tell the plugin to stick to the default Maven behavior? 有什么办法可以告诉插件坚持默认的Maven行为?

You can force the Artifactory repo to use unique snapshots , regardless of what Maven sends. 您可以强制Artifactory存储库使用唯一的快照 ,而不管Maven发送什么。 In this case Artifactory will add the timestamp even if the file is being uploaded without it. 在这种情况下,即使没有文件上传文件,Artifactory也会添加时间戳。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM