-
Improvement
-
Resolution: Won't Fix
-
Minor
-
Jenkins ver. 2.222.4 copy artifact plugin 1.44
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.