Some things you need to understand about the promoted builds: The promotions are kind of like 2nd class citizens in the Jenkins job population: They are subservient to their parent job and they do not have their own workspace.
This means that you should not do anything in the promotion actions that uses the workspace. Or if you do, you have the responsibility of synchronizing the workspace access with the promotion and the parent job. If your promotion actions need to use a workspace, it is often easier to just trigger a build of another job. This other job would be a normal job, which means it would have its own workspace and it would be safe to use it. -- Sami Martin d'Anjou <martin.danjo...@gmail.com> kirjoitti 16.8.2012 kello 17.45: > Hi, > > When I promote an archived build while a build is running, the Copy > Artifact plugin overwrites the running build artifacts with the > archived ones. How should I configure the Build Promotion and the Copy > Artifact to avoid this problem? > > Thanks, > Martin