-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Copy artifact plugin 1.35
Jenkins version 1.596.2
I'm getting "ERROR: Unable to find a build for artifact copy from" while trying to copy artifacts from a specific build.
I have several jobs which build their own artifacts and set the DisplayName with the version of the software module (for instance, release-1.1.0.0), then I have one job which copies all these artifacts and keep them as a release. So in this job I have as many build steps "Copy artifacts from another project" as jobs to copy from. For each of these steps I select the name of the job, then I select Specific Build for the "Which build" option and finally I specify the Build Number by the jobs display name ( release-1.1.0.0 )
The help button of the "Build Number" parameters says
"While this selector is for build numbers (e.g. "22" for build #22), you can also resolve build parameters or environment variables (e.g. "${PARAM}"). The display name of a build and permalinks (e.g. "lastSuccessfulBuild", "lastBuild"...) can be used as well."
This is working for some jobs but not all of them and it's working fine if I use the build number as the "Build Number" parameter. I'd rather use the display name property since it helps me to identify the software modules properly.
Thanks