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

Copy artifacts plugin doesn't have nice names in Pipeline

    Details

    • Similar Issues:

      Description

      When using copy artifact functionality in Pipeline, snippet generator gives me the ugly step([$class:...]) syntax whereas I'd like to see copyArtifacts(...) or something.

      This can be easily achieved by adding a symbol support in the plugin.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            pom.xml
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            src/main/java/hudson/plugins/copyartifact/DownstreamBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/LastCompletedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/WorkspaceSelector.java
            http://jenkins-ci.org/commit/copyartifact-plugin/d8fecdcd42fde84fa0e7c18850acfa330fab7941
            Log:
            JENKINS-46700 symbol support for better pipeline compatibility

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: pom.xml src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/DownstreamBuildSelector.java src/main/java/hudson/plugins/copyartifact/LastCompletedBuildSelector.java src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java src/main/java/hudson/plugins/copyartifact/WorkspaceSelector.java http://jenkins-ci.org/commit/copyartifact-plugin/d8fecdcd42fde84fa0e7c18850acfa330fab7941 Log: JENKINS-46700 symbol support for better pipeline compatibility
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            I created a PR to fix this problem

            Show
            kohsuke Kohsuke Kawaguchi added a comment - I created a PR to fix this problem
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java
            http://jenkins-ci.org/commit/copyartifact-plugin/271d158e54a21ae349790eb00e1fe08566360f8c
            Log:
            JENKINS-46700 Target 1.642.3 and add tests for symbols

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java http://jenkins-ci.org/commit/copyartifact-plugin/271d158e54a21ae349790eb00e1fe08566360f8c Log: JENKINS-46700 Target 1.642.3 and add tests for symbols
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java
            src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java
            http://jenkins-ci.org/commit/copyartifact-plugin/ebf8b83fd4588220a83864913fb1dc1754208215
            Log:
            JENKINS-46700 Use the latest pipeline plugins for tests

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java http://jenkins-ci.org/commit/copyartifact-plugin/ebf8b83fd4588220a83864913fb1dc1754208215 Log: JENKINS-46700 Use the latest pipeline plugins for tests
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest.zip
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/archive/foo.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/archive/foo2.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/users/joe/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/archive/foo.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/config.xml
            http://jenkins-ci.org/commit/copyartifact-plugin/39df7ccd9639625b3227830c7a09ac04ef9d0472
            Log:
            JENKINS-46700 Expand zip file for `LocalData` to avoid JENKINS-47075

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest.zip src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/archive/foo.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/archive/foo2.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/users/joe/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/archive/foo.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/config.xml http://jenkins-ci.org/commit/copyartifact-plugin/39df7ccd9639625b3227830c7a09ac04ef9d0472 Log: JENKINS-46700 Expand zip file for `LocalData` to avoid JENKINS-47075
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/main/java/hudson/plugins/copyartifact/CopyArtifact.java
            src/main/java/hudson/plugins/copyartifact/DownstreamBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/LastCompletedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java
            src/main/java/hudson/plugins/copyartifact/WorkspaceSelector.java
            src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
            src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java
            src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest.zip
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/archive/foo.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/archive/foo2.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/users/joe/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/config.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/archive/foo.txt
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/build.xml
            src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/config.xml
            http://jenkins-ci.org/commit/copyartifact-plugin/62c07a9b2477829e7ac608d83800b611e9bedc0d
            Log:
            Merge pull request #92 from ikedam/feature/JENKINS-46700_AddTestsForSymbols

            JENKINS-46700 Add tests for symbols

            Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/1affa83cff5f...62c07a9b2477

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/hudson/plugins/copyartifact/CopyArtifact.java src/main/java/hudson/plugins/copyartifact/DownstreamBuildSelector.java src/main/java/hudson/plugins/copyartifact/LastCompletedBuildSelector.java src/main/java/hudson/plugins/copyartifact/ParameterizedBuildSelector.java src/main/java/hudson/plugins/copyartifact/PermalinkBuildSelector.java src/main/java/hudson/plugins/copyartifact/SavedBuildSelector.java src/main/java/hudson/plugins/copyartifact/SpecificBuildSelector.java src/main/java/hudson/plugins/copyartifact/StatusBuildSelector.java src/main/java/hudson/plugins/copyartifact/TriggeredBuildSelector.java src/main/java/hudson/plugins/copyartifact/WorkspaceSelector.java src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java src/test/java/hudson/plugins/copyartifact/testutils/CopyArtifactJenkinsRule.java src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest.zip src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/archive/foo.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/builds/2011-02-01_12-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/archive/foo2.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/builds/2011-02-01_13-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/jobs/testJob2/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterized/users/joe/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/config.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/archive/foo.txt src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/builds/2011-04-12_09-00-00/build.xml src/test/resources/hudson/plugins/copyartifact/CopyArtifactTest/testPermissionWhenParameterizedForMatrixConfig/jobs/testMatrix/configurations/axis-FOO/foo/config.xml http://jenkins-ci.org/commit/copyartifact-plugin/62c07a9b2477829e7ac608d83800b611e9bedc0d Log: Merge pull request #92 from ikedam/feature/ JENKINS-46700 _AddTestsForSymbols JENKINS-46700 Add tests for symbols Compare: https://github.com/jenkinsci/copyartifact-plugin/compare/1affa83cff5f...62c07a9b2477
            Hide
            ikedam ikedam added a comment -

            Fixed in copyartifact-1.39.
            It will be available in the update center in a day.

            Show
            ikedam ikedam added a comment - Fixed in copyartifact-1.39. It will be available in the update center in a day.

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                kohsuke Kohsuke Kawaguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: