JENKINS-11655: If many builds trigger same downstream job, wrong artifacts are copied, first job triggered, not last / newest like would be assumed. In this commit it is fixed.

Because this is a big changes it may be reasonable to have some global configuration checkbox if used newestbuild instead of first build when artifacts are copied. I tried to do it also, but my competence was not enough. Those tries are in comment in this commit.