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

"Copy Artifacts Plugin" should support ArtifactManager

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • copyartifact-plugin
    • None

      ArtifactManager introduced in Jenkins 1.532 allows copyartifact
      to work with other plugins, such as Compress Artifacts Plugin


      When using the Compress Artifacts Plugin, the Copy Artifact Plugin cannot find the zip archive created and fails when trying to copy the previous job's artifacts.

      The error is:

      Unable to access upstream artifacts area C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive. Does source project archive artifacts?

      The archive file is (no archive folder):
      C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive.zip

          [JENKINS-22637] "Copy Artifacts Plugin" should support ArtifactManager

          Dominic St-Jacques created issue -

          Jesse Glick added a comment -

          Not a problem with Compress Artifacts per se. Rather, hudson.plugins.copyartifact.BuildSelector would need to be modified to work with ArtifactManager, present in Jenkins 1.532 and later, rather than calling Run.getArtifactsDir (which is now deprecated). In turn, the BuildSelector and Copier APIs would need to change to work with VirtualFile.

          Jesse Glick added a comment - Not a problem with Compress Artifacts per se. Rather, hudson.plugins.copyartifact.BuildSelector would need to be modified to work with ArtifactManager , present in Jenkins 1.532 and later, rather than calling Run.getArtifactsDir (which is now deprecated). In turn, the BuildSelector and Copier APIs would need to change to work with VirtualFile .
          Jesse Glick made changes -
          Component/s Original: compress-artifacts [ 18040 ]
          Assignee Original: Jesse Glick [ jglick ]
          Issue Type Original: Bug [ 1 ] New: New Feature [ 2 ]
          ikedam made changes -
          Description Original: When using the [Compress Artifacts Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Compress+Artifacts+Plugin], the [Copy Artifact Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin] cannot find the zip archive created and fails when trying to copy the previous job's artifacts.

          The error is:

          {{Unable to access upstream artifacts area C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive. Does source project archive artifacts?}}

          The archive file is (no archive folder):
          {{C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive.zip}}
          New: ArtifactManager introduced in Jenkins 1.532 allows copyartifact
          to work with other plugins, such as [Compress Artifacts Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Compress+Artifacts+Plugin]

          ----

          When using the [Compress Artifacts Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Compress+Artifacts+Plugin], the [Copy Artifact Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin] cannot find the zip archive created and fails when trying to copy the previous job's artifacts.

          The error is:

          {{Unable to access upstream artifacts area C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive. Does source project archive artifacts?}}

          The archive file is (no archive folder):
          {{C:\JenkinsData\<job_name>\builds\2014-04-15_17-02-29\archive.zip}}
          Environment Original: Windows 2012
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Summary Original: Cannot use "Copy Artifacts Plugin" in conjuction with the "Compress Artifacts Plugin", archive not found. New: "Copy Artifacts Plugin" should support ArtifactManager

          ikedam added a comment -

          JENKINS-17494 can be also resolved by:

          • Copyartifact supports ArtifactManager
          • ArtifactDeploer provides ArtifactManager

          ikedam added a comment - JENKINS-17494 can be also resolved by: Copyartifact supports ArtifactManager ArtifactDeploer provides ArtifactManager
          ikedam made changes -
          Link New: This issue is related to JENKINS-17494 [ JENKINS-17494 ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-24889 [ JENKINS-24889 ]
          ikedam made changes -
          Link Original: This issue is related to JENKINS-24889 [ JENKINS-24889 ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-24892 [ JENKINS-24892 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26810 [ JENKINS-26810 ]

            dstj Dominic St-Jacques
            dstj Dominic St-Jacques
            Votes:
            14 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: