Status: Closed (View Workflow)
Resolution: Cannot Reproduce
Jenkins 2.263.4, Linux, FireFox
When you 2 projects (Project A which is a Multi-branch pipeline and Project B which is a freestyle project). I am attempting to copy the workspace files from Project A (Source) to Project B (Destination) using CopyArtifact plugin. I am successfully able to accomplish this if I add an additional step to Project A to archive the files (which takes forever) but does not work to copy the workspace files even though they exist. Get the following error: Failed to copy artifacts from foobar/master with filter: **
Mark Waite added a comment -
Closing as "Cannot reproduce" after several months without a response from the original submitter noting that others cannot duplicate the issue.
Mark Waite added a comment - Closing as "Cannot reproduce" after several months without a response from the original submitter noting that others cannot duplicate the issue.
A few thoughts on this: As far as I know, CopyArtifact only copies artifacts. That's the reason why you have to add the archiveArtifacts step to the source project. If that step 'takes forever', that seems to indicate that you copy way too much. Try specifying only those files that you really want to copy later on.
To my knowledge, CopyArtifact never copies files from the workspace.
Having said that, I tried to reproduce the bug with a project setup that resembles your description (a FreeStyle Job that copies artifacts from a MB pipeline job) and I could not reproduce your error - the previously archived files were copied successfully.