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

Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter

      Error message:

      ...
      project_name=daily
      _=/bin/env
      Unable to find project for artifact copy: daily
      This may be due to incorrect project name or permission settings; see help for project name in job configuration.
      Build step 'Copy artifacts from another project' marked build as failure
      ...
      

      When I set the project name by hand, there is no error. When I use a build parameter, and set its value to the same value as the hand typed value, it fails. The above message show what variable I use: $project_name

      Please see the screenshots for the configuration details.

          [JENKINS-14999] Copy Artifact plugin: Unable to find project for artifact copy when using a build parameter

          Martin d'Anjou created issue -
          Martin d'Anjou made changes -
          Attachment New: copy-artifact-shot3.png [ 22402 ]
          Alan Harder made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Wigzell made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Assignee Original: Alan Harder [ mindless ] New: ikedam [ ikedam ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-16956 [ JENKINS-16956 ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-20398 [ JENKINS-20398 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          ikedam made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          ikedam made changes -
          Link New: This issue is related to JENKINS-21821 [ JENKINS-21821 ]

            ikedam ikedam
            deepchip Martin d'Anjou
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: