I have a multi-module maven project that is an upstream job, and the downstream job that it triggers uses the Copy Artifact plugin to copy the artifacts produced by the maven project. These are snapshot artifacts being generated. Jenkins automatically archives the maven artifacts, and when it does, at changes the artifact name to have a version and timestamp on it, so it looks like *myproject-1.2.0-<timestamp>.war*, or something like that. This happens even though my project outputs a war named *myproject.war**. *I tried just using the Jenkins post build step to archive the artifacts (which does have the correct names) and disabling the automatic archiving of maven artifacts, but when I do this, the Copy Artifact plugin fails because it looks for the artifacts in the maven module subdirectories.
Is there a way to have the Copy Artifact plugin only copy the artifacts produced by the Jenkins post build archiving step or is there any way to have the maven archived artifacts not have the timestamp added to them? Thank you. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e7989c0b-b354-4c58-a631-08f34b7d93ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
