Dchucks
Dchucks

Reputation: 1199

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?

Upvotes: 0

Views: 333

Answers (1)

JBaruch
JBaruch

Reputation: 22893

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.

Upvotes: 2

Related Questions