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

CopyArtifacts plugin does not resolve axis of multi-config build from parameter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Linux with different linux slaves
    • Similar Issues:

      Description

      The copy artifacts plugin seems to have a problem with selecting a single configuration from a multi-configuration build. I got two multi-config jobs which both use the nodes (label) as their only axis. Both jobs are built on the same set of nodes. For the downstream project I want to copy only the artifacts of the upstream project from the same node (because it is C++ and nodes are not compatible). So what I tried is this syntax to select the desired artifacts from the upstream project (called RSC-multi):

      RSC-multi/label=$label

      where $label is the axis. I've already checked that this variable is correct. Nevertheless, I i build this plugin, the copy step fails with this message:

      Unable to find project for artifact copy: RSC-multi/label=master (e.g. for the master node)

      It seems that the plugin does not recognize that this is a selection of one axis.

      If I remove $label from the expression and instead use a hard-coded selection of one axis like:

      RSC-multi/label=master

      then copying works correctly and only the artifacts from the master node are copied.

      So it seems that the selection of a single axis based on a parameter is broken.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          test/src/test/java/hudson/matrix/MatrixTest.java
          http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92
          Log:
          JENKINS-9293 Add test that project-level permissions of a matrix project
          apply to child configurations as well.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: test/src/test/java/hudson/matrix/MatrixTest.java http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92 Log: JENKINS-9293 Add test that project-level permissions of a matrix project apply to child configurations as well.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #689
          JENKINS-9293 Add test that project-level permissions of a matrix project

          alanharder : 2c767feea175aa2b7113216f10d0f972671a0e92
          Files :

          • test/src/test/java/hudson/matrix/MatrixTest.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #689 JENKINS-9293 Add test that project-level permissions of a matrix project alanharder : 2c767feea175aa2b7113216f10d0f972671a0e92 Files : test/src/test/java/hudson/matrix/MatrixTest.java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          test/src/test/java/hudson/matrix/MatrixTest.java
          http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92
          Log:
          JENKINS-9293 Add test that project-level permissions of a matrix project
          apply to child configurations as well.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: test/src/test/java/hudson/matrix/MatrixTest.java http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92 Log: JENKINS-9293 Add test that project-level permissions of a matrix project apply to child configurations as well.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          test/src/test/java/hudson/matrix/MatrixTest.java
          http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92
          Log:
          JENKINS-9293 Add test that project-level permissions of a matrix project
          apply to child configurations as well.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: test/src/test/java/hudson/matrix/MatrixTest.java http://jenkins-ci.org/commit/jenkins/2c767feea175aa2b7113216f10d0f972671a0e92 Log: JENKINS-9293 Add test that project-level permissions of a matrix project apply to child configurations as well.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: alanharder
          Path:
          test/src/test/java/hudson/matrix/MatrixTest.java
          http://jenkins-ci.org/commit/matrix-project-plugin/cbc8e8215633d7d31878bba0b2dc8aa0466329ae
          Log:
          JENKINS-9293 Add test that project-level permissions of a matrix project
          apply to child configurations as well.

          Originally-Committed-As: 2c767feea175aa2b7113216f10d0f972671a0e92

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: alanharder Path: test/src/test/java/hudson/matrix/MatrixTest.java http://jenkins-ci.org/commit/matrix-project-plugin/cbc8e8215633d7d31878bba0b2dc8aa0466329ae Log: JENKINS-9293 Add test that project-level permissions of a matrix project apply to child configurations as well. Originally-Committed-As: 2c767feea175aa2b7113216f10d0f972671a0e92

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              languitar Johannes Wienke
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: