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

copyartifact 1.44 does not work

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading from copyartifact 1.43.1 to 1.44, we see the following when we try to use the `copyArtifacts` step:

      Unable to find project for artifact copy: path/to/other/pipeline
      This may be due to incorrect project name or permission settings; see help for project name in job configuration.
      

      There don't appear to be any options relating to copyartifact in the configuration for the pipeline that we're trying to copy from (it's a multi-branch pipeline generated in a GitHub org folder, if that's relevant). We switched the option on the "global security" page into "migration" mode, but we still get the same error. We had to rollback to copyartifact 1.43.1 to restore functionality.

      I only knew to look in the "global security" page by spelunking in the changeset here: https://github.com/jenkinsci/copyartifact-plugin/commit/dc87de169604cb9b6706c5328e2e4aeb2c6652d6. There was apparently no code review, no changelog entry, and no documentation aside from what I see in that commit. This is incredibly poor form, especially for a breaking change with no escape hatch.

        Attachments

          Activity

          Hide
          ikedam ikedam added a comment -

          Documentations for new permission checks are released.
          Please have a look on that: https://github.com/jenkinsci/copyartifact-plugin#permissions-to-copy-artifact

          Show
          ikedam ikedam added a comment - Documentations for new permission checks are released. Please have a look on that: https://github.com/jenkinsci/copyartifact-plugin#permissions-to-copy-artifact

            People

            Assignee:
            jonathanb1 Jonathan B
            Reporter:
            jonathanb1 Jonathan B
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: