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

"Copy Artifacts Plugin" should support ArtifactManager

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            dstj Dominic St-Jacques created issue -
            Hide
            jglick 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.

            Show
            jglick 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 .
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Issue Type Bug [ 1 ] New Feature [ 2 ]
            Assignee Jesse Glick [ jglick ]
            Component/s compress-artifacts [ 18040 ]
            ikedam ikedam made changes -
            Summary Cannot use "Copy Artifacts Plugin" in conjuction with the "Compress Artifacts Plugin", archive not found. "Copy Artifacts Plugin" should support ArtifactManager
            Environment Windows 2012
            Description 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}}
            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}}
            Priority Minor [ 4 ] Major [ 3 ]
            Hide
            ikedam ikedam added a comment -

            JENKINS-17494 can be also resolved by:

            • Copyartifact supports ArtifactManager
            • ArtifactDeploer provides ArtifactManager
            Show
            ikedam ikedam added a comment - JENKINS-17494 can be also resolved by: Copyartifact supports ArtifactManager ArtifactDeploer provides ArtifactManager
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-17494 [ JENKINS-17494 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-24889 [ JENKINS-24889 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-24889 [ JENKINS-24889 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-24892 [ JENKINS-24892 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-26810 [ JENKINS-26810 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking SECURITY-162 [ SECURITY-162 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-20546 [ JENKINS-20546 ]
            Hide
            ibiatiroler Markus Eisenmann added a comment -

            Any progress on this - IMHO long outstanding - issue?

            Show
            ibiatiroler Markus Eisenmann added a comment - Any progress on this - IMHO long outstanding - issue?
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154747 ] JNJira + In-Review [ 178906 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Labels plugin
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 99 (Web Link)" [ 20117 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-14900 [ JENKINS-14900 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-9741 [ JENKINS-9741 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 100 (Web Link)" [ 20124 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Show
            csanchez Carlos Sanchez added a comment - In review at https://github.com/jenkinsci/copyartifact-plugin/pull/100
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            pom.xml
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            src/main/java/hudson/plugins/copyartifact/ParametersBuildFilter.java
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            http://jenkins-ci.org/commit/copyartifact-plugin/e617d816465d0a85e67e784b0a92c2b36bc9acff
            Log:
            JENKINS-22637 JENKINS-26810 Handle file modes.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: pom.xml src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/ParametersBuildFilter.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/copyartifact-plugin/e617d816465d0a85e67e784b0a92c2b36bc9acff Log: JENKINS-22637 JENKINS-26810 Handle file modes.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            .gitignore
            .mvn/extensions.xml
            .mvn/maven.config
            pom.xml
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            src/main/java/hudson/plugins/copyartifact/ParametersBuildFilter.java
            src/main/resources/hudson/plugins/copyartifact/Messages.properties
            src/test/java/hudson/plugins/copyartifact/BuildSelectorParameterTest.java
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            http://jenkins-ci.org/commit/copyartifact-plugin/180c673ac8e3cab7b093ca583bfebdca7eaeda06
            Log:
            Merge pull request #100 from jglick/more-VirtualFile-JENKINS-49635

            JENKINS-22637 ArtifactManager support on new core

            Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/fc966a54330b...180c673ac8e3
            *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

            Functionality will be removed from GitHub.com on January 31st, 2019.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: .gitignore .mvn/extensions.xml .mvn/maven.config pom.xml src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/ParametersBuildFilter.java src/main/resources/hudson/plugins/copyartifact/Messages.properties src/test/java/hudson/plugins/copyartifact/BuildSelectorParameterTest.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java http://jenkins-ci.org/commit/copyartifact-plugin/180c673ac8e3cab7b093ca583bfebdca7eaeda06 Log: Merge pull request #100 from jglick/more-VirtualFile- JENKINS-49635 JENKINS-22637 ArtifactManager support on new core Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/fc966a54330b...180c673ac8e3 * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-31563 [ JENKINS-31563 ]
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-30027 [ JENKINS-30027 ]
            ikedam ikedam made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            ikedam ikedam made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Hide
            ikedam ikedam added a comment -

            Copyartifact-1.40 is released (thanks to Jesse Glick).

            Copyartifact-1.40 targets Jenkins 2.118, and there's no LTS version yet.
            You may want to use copyartifact-1.40-beta-1 instead till LTS is released.

            Show
            ikedam ikedam added a comment - Copyartifact-1.40 is released (thanks to Jesse Glick ). Copyartifact-1.40 targets Jenkins 2.118, and there's no LTS version yet. You may want to use copyartifact-1.40-beta-1 instead till LTS is released.
            ikedam ikedam made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Jesse Glick [ jglick ] Dominic St-Jacques [ dstj ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-50597 [ JENKINS-50597 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: