-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.625.2, Copy Artifact Plugin 1.37
Steps to reproduce:
- Create Maven build job #1. In the build job, check "Disable automatic artifact archiving".
- Create build job #2. Add "Copy artifacts from another project" build step. Set "Project name" to project #1. Set "Which build" to "latest successful build". Set "Artifacts to copy" to an existing artifact in project #1, e.g. **/my.war.
- Build job #2 fails with this error:
Unable to access upstream artifacts area D:\jenkins\jobs\job1\modules\my.package$myapp\builds\510\archive. Does source project archive artifacts? ERROR: Unable to find a build for artifact copy from: JOB1
Work-around:
In job #2, set "Which build" to "Specified by permalink". Set permalink to "lastSuccessfulBuild".
- duplicates
-
JENKINS-22637 "Copy Artifacts Plugin" should support ArtifactManager
- Closed