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

Please add documentation on how to specify Multibranch projects and projects in subfolders

    Details

    • Similar Issues:

      Description

      I need to copy artifacts from one multibranch pipeline project to another.

      Both are in a folder.

      Source: <CUSTOMER>/<customer>-build/trunk

      Target: <CUSTOMER>/<customer>-batchtest/trunk

      <CUSTOMER>/<customer>-onlinetest/trunk

       

      What syntax do I need to allow the <customer>-batchtest and <customer>-online jobs to copy from their respective branches from the <customer>-build job?

       

      I tried to add

      copyArtifactPermission('<CUSTOMER>/<customer>-onlinetest/*,<CUSTOMER>/<customer>-batchtest/*');
      

      But I still get the message:

      ERROR: Unable to find project for artifact copy: <CUSTOMER>/<customer>-build/trunk
      This may be due to incorrect project name or permission settings; see help for project name in job configuration.

      Please expand the example in the documentation to include a job in a subfolder and multibranch pipeline jobs.

        Attachments

          Activity

          Hide
          ikedam ikedam added a comment -

          Project name specification is an issue not of copyartifact plugin, but of Jenkins.
          Please have a look on https://wiki.jenkins.io/display/JENKINS/How+to+reference+another+project+by+name

          Show
          ikedam ikedam added a comment - Project name specification is an issue not of copyartifact plugin, but of Jenkins. Please have a look on https://wiki.jenkins.io/display/JENKINS/How+to+reference+another+project+by+name

            People

            • Assignee:
              bram_mertens Bram Mertens
              Reporter:
              bram_mertens Bram Mertens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: