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

fails to copy artifact from matrix to matrix with label as parameter

    Details

    • Similar Issues:

      Description

      I'm trying to retrieve artifacts from a matrix job (A) to another matrix job (B) with same axis (label) defined on nodes : Lenny64, Squeeze64

      On "copy artifacts from another project", il I use A/label=$label in project name field, it fails with the following message :
      Unable to find project for artifact copy: A/label=Lenny64

      As you can see, it looks like the param $label is expanded correctly.

      If I use A/label=Lenny64 in project name field, then it works (artifact is found and copied).

        Attachments

          Activity

          Hide
          mindless Alan Harder added a comment -

          Please read the help text about project name, in particular about project permissions when $variables are used. Does this apply in your setup?

          Show
          mindless Alan Harder added a comment - Please read the help text about project name, in particular about project permissions when $variables are used. Does this apply in your setup?
          Hide
          sbernaud sbernaud added a comment -

          Indeed, security model I use is "matrix based security", but any declared user has Read permission on Job (and Global Read permission too) (except anonymous). Did I miss something ?

          Show
          sbernaud sbernaud added a comment - Indeed, security model I use is "matrix based security", but any declared user has Read permission on Job (and Global Read permission too) (except anonymous). Did I miss something ?
          Hide
          ikedam ikedam added a comment -

          You have to grant permissions also to anonymous users.

          Alternately, I added following features:
          Supports "authorized" job. You can authorize jobs with Authorize Project plugin (introdeced in 1.29).
          Added configuration to specify which jobs can copy artifacts of that job. See https://github.com/jenkinsci/copyartifact-plugin/pull/27 for a screen shot (introduced in 1.30).

          Would you try them?
          I think they help you.

          Show
          ikedam ikedam added a comment - You have to grant permissions also to anonymous users. Alternately, I added following features: Supports "authorized" job. You can authorize jobs with Authorize Project plugin (introdeced in 1.29). Added configuration to specify which jobs can copy artifacts of that job. See https://github.com/jenkinsci/copyartifact-plugin/pull/27 for a screen shot (introduced in 1.30). Would you try them? I think they help you.
          Show
          ikedam ikedam added a comment - See https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin#CopyArtifactPlugin-Permissionstocopyartifact for details.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              sbernaud sbernaud
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: