The first step is to determine whether the problem is that the files are not 
being archived in the upstream job, or whether they are archived but then not 
subsequently retrieved by the CopyArtifact plugin in the downstream job. Look 
on the Jenkins master itself, in 
Jenkins_home/jobs/<upstream-job-name>/builds/<build-number>/archive/.

We use archive and CopyArtifact a lot, and I have never seen anything like 
this. Have you checked that your path specifications are all correct?

Matthew


> -----Original Message-----
> From: jenkinsci-users@googlegroups.com 
> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Suckow, Thomas J
> Sent: 18 June 2015 23:10
> To: jenkinsci-users@googlegroups.com
> Subject: Strange issue with copy artifact plugin not copying everything
> 
> I am seeing a strange behavior with the Copy Artifact Plugin version 1.35.1
> 
> I have a job that creates some shared objects and some include headers.
> Those files are archived as artifacts and in another job use the "Copy
> Artifact" build step to copy them.
> 
> The console says 18 files were copied, but in fact only 15 are present.
> The same 3 are always missing. Weirder still, if I configure the second
> job to NOT clean the workspace, the second time you run the build the
> files will be copied. In fact I can configure the job to copy the same
> artifacts twice to work around the issue.
> 
> I assume this is a bug in the plugin though I can't begin to speculate
> what is going wrong, I use the plugin for other things and never have had
> issues.
> 
> Anyone else seen this strange behavior or have thoughts on the matter?
> 
> -
> Thomas
> 

-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6836E1DC2DDC174C9D64B7860E5AF5FC9EE84AA2%40EXCHMBX01.fed.cclrc.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to