For a list of other such plugins, see the Pipeline Steps Reference page.
projectName : String
The name of the project to copy artifacts from.
Artifacts from all modules will be copied. Enter JOBNAME/MODULENAME here to copy from a particular module; you may copy/paste this from the URL for that module when browsing Jenkins.
Artifacts from all configurations will be copied, each into a subdirectory with the name of the configuration as seen in its URL when browsing Jenkins.
Example: If the target directory is given as fromMatrix then the copy could create $WORKSPACE/fromMatrix/label=agentA/dist/mybuild.jar and $WORKSPACE/fromMatrix/label=agentB/dist/mybuild.jar.
To copy from a particular configuration, enter JOBNAME/AXIS=VALUE,.. as seen in the URL for that configuration.
To copy artifacts from one matrix project to another, use a parameter to select the matching configuration in the source project.
Use a path consisting of the project name followed by the branch name.
Special letters like '/' in branch names should be escaped. You can see the exact name in "Full project name" in job pages of each branch.
See the wiki page "How to reference another project by name" for more information.
excludes : String(optional)
filter : String(optional)
fingerprintArtifacts : boolean(optional)
flatten : boolean(optional)
optional : boolean(optional)
parameters : String(optional)
Jobs may be filtered to select only builds matching particular parameters or other build variables. Use PARAM=VALUE,... to list the parameter filter; this is the same syntax as described for multiconfiguration jobs in Project name except with parameters instead of axis values. For example, FOO=bar,BAZ=true examines only builds that ran with parameter FOO set to bar and the checkbox for BAZ was checked.
You shouldn't use "Build selector for Copy Artifact" parameters here, as it doesn't preserve compatibility when you upgrade plugins, and doesn't work for builds built before upgrading.
resultVariableSuffix : String(optional)
If not specified, the source project name will be used instead (in all uppercase, and sequences of characters other than A-Z replaced by a single underscore).
|Source project name||Suffix to be used|
upstreamProjectName : String
Copy artifacts from a build that is a downstream of a build of the specified project. You can use variable expressions.
Downstream builds are found using fingerprints of files. That is, a build that is triggered from a build isn't always considered downstream, but you need to fingerprint files used in builds to let Jenkins track them.
Note: "Downstream build of" is applicable only to AbstractProject based projects (both upstream and downstream projects).
upstreamBuildNumber : String
parameterName : String
You can pass not only the parameter name, but also the parameter value itself. This is useful especially used with workflow-plugin.
id : String
level : int
buildNumber : String
stable : boolean(optional)
allowUpstreamDependencies : boolean(optional)
fallbackToLastSuccessful : boolean(optional)
target : String(optional)