Hey Jeff,
Did you ever figure this out?  I'm running into a very similar issue.  I've 
got a maven build that has a zip file artifacted.  The zip file wasn't part 
of any maven build, it was created post build.  Jenkins artifacts it no 
problem, but my downstream build refuses to find the artifact.  It looks 
for the zips in the module artifact space which isn't working since I don't 
even have module artifacting enabled.  I've been able to get this working 
by enabling module artifacting, but I'd rather not do that as it consumes a 
bunch of extra disk space...

Matt

On Monday, January 12, 2015 at 9:03:36 PM UTC-5, Jeff Storey wrote:
>
> 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/31925cae-4e57-4075-b7a9-74345ebfe2b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to