Issue Type: Bug Bug
Assignee: Unassigned
Components: copyartifact-plugin
Created: 09/Apr/15 2:10 PM
Description:

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

Environment: Copy artifact plugin 1.35
Jenkins version 1.596.2
Project: Jenkins
Priority: Minor Minor
Reporter: Julián Lastiri
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to