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

"Unable to find project" in "Permission to Copy Artifact - Projects to allow copy artifacts" with multi-configuration projects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 14.04 x86_64
      Oracle JDK 1.7
      Jenkins ver. 1.642.1
      Copy Artifact Plugin ver 1.37
      CloudBees Folders Plugin ver 5.1
    • Similar Issues:

      Description

      Related to: JENKINS-14999

      To use input parameter variable in "project name" of "copy artifacts from another project",
      you must set proper read permission at upstream job.

      At upstream job while working together with CloudBees Folders Plugin,
      "Permission to Copy Artifact - Projects to allow copy artifacts"
      display a misleading warning "Unable to find project: DOWNSTREAM_PROJECT_NAME"
      when using DOWNSTREAM_PROJECT_NAME only without "FOLDERNAME" prefix.

      When using full complete name together with FOLDER_NAME,
      such as "FOLDERNAME/DOWNSTREAM_PROJECT_NAME",
      "Permission to Copy Artifact - Projects to allow copy artifacts" will not display warning.
      However,
      the downstream job is unable to copy artifacts with error:

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

      If it's intended to use PROJECT_NAME only without full-name to include FOLDER_NAME,
      then it should not display this misleading warning.
      Also this note should put together with HELP string.

        Attachments

          Activity

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              totoroliu Rick Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: