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

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

XMLWordPrintable

      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.

            bram_mertens Bram Mertens
            bram_mertens Bram Mertens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: