Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17494

Copy Artifact fails when trying to copy artifact stored by ArtifactDeployer

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            stormwind Jason Spangler created issue -
            stormwind Jason Spangler made changes -
            Field Original Value New Value
            Component/s artifactdeployer [ 15870 ]

            What is your use case?
            These two plugins have different target.

            gbois Gregory Boissinot added a comment - What is your use case? These two plugins have different target.
            wgroper Greg Roper added a comment -

            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.

            wgroper Greg Roper added a comment - 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.

            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.

            Suggestions?

            nneul Nathan Neulinger added a comment - 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. Suggestions?
            ikedam ikedam made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            gbois Gregory Boissinot made changes -
            Assignee Gregory Boissinot [ gbois ]

            We need to extend ArtifactDeployer or develop an other plugin with copy artefact plugin features but with remote artifacts location storage.

            gbois Gregory Boissinot added a comment - We need to extend ArtifactDeployer or develop an other plugin with copy artefact plugin features but with remote artifacts location storage.
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-22637 [ JENKINS-22637 ]
            jglick Jesse Glick added a comment -

            You should use ArtifactManager which is designed for this purpose.

            jglick Jesse Glick added a comment - You should use ArtifactManager which is designed for this purpose.
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 148673 ] JNJira + In-Review [ 177163 ]
            jglick Jesse Glick made changes -
            Component/s copyartifact-plugin [ 15692 ]

            People

              gbois Gregory Boissinot
              stormwind Jason Spangler
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: