Status: Open (View Workflow)
Copy Artifact fails when trying to copy artifact stored by the ArtifactDeployer plugin, which stored the artifacts on the machine the job ran on (like the slave machine) in a specified directory.
- is related to
JENKINS-22637 "Copy Artifacts Plugin" should support ArtifactManager
We need to extend ArtifactDeployer or develop an other plugin with copy artefact plugin features but with remote artifacts location storage.
I would very much like this same functionality. I'm looking at using ArtifactDeployer instead of the internal code - to allow easily archiving artifacts to a separate file server not part of the jenkins build agent host - but would hate to lose the functionality of being able to refer/copy those artifacts in other builds.
I realize I could copy explicit file paths, or I could rig up something like an extra publish action - to publish to both a "by build number" as well as "last successful" directory, but that seems a bit hackish.
I'm having the same issue. I need to save the artifacts on either the slave that ran the build job or at least a machine on the local network and not across a WAN which adds a lot of time to build job. I've tried using the ArtifactDeployer plugin, which works great, but downstream jobs using the CopyArtifact plugin are still looking to the Jenkins server for the artifacts, which is located in a different country.
You should use ArtifactManager which is designed for this purpose.