Affects Version/s: 3.8.0, 3.9.0, 3.10.1, 3.11.3
Fix Version/s: None
This kind of promotion was working with Plugin 3.6.1
When promoting a build that contains artifacts with same name and same checksum the promotion does not work properly any longer.
How to reproduce
You need two artifacts folder1/aFile.txt and folder2/aFile.txt which have the same checksum. After upload the build and publishing start promoting it:
- After first promotion step, one artifact will remain in initial repo but second will be promoted.
- After second promotion step, artifact that stayed in inital repo will be promoted, but other one will remain in second promotion step.
We have not faced this issue with Plugin version 3.6.1.
Use the following jenkinsfile in order to reproduce this issue:
- Check the buildInfo after all artifacts have been uploaded: It already has filtered out the copied artifact.
- We checked the buildinfo on Artifactory. Builds published and promoted with plugins 3.8.0 and onward don't have the remotePath in the buildInfo.