简体   繁体   中英

Jenkins Artifactory Plugin ignoring Maven UniqueVersion

I am facing an issue with the Jenkins Artifactory plugin. When I deploy to Artifacfory using Maven3 (as uniqueVersion is now by default true) the Jars have a timestamp suffixed to their names. However, while running a custom job for deploying to Artifactory that uses the Artifacory plugin, the plugin is not appending the timestamp. Is there any way I could tell the plugin to stick to the default Maven behavior?

You can force the Artifactory repo to use unique snapshots , regardless of what Maven sends. In this case Artifactory will add the timestamp even if the file is being uploaded without it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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