Artifact versioning in Generic Repository - old artifacts are overwritten
Hi. I have a question about storing artifacts distinguished by build name. I am using TeamCity integration with Artifactory Pro. This is what I am trying to achieve:
- Build A creates an artifact named foo.ext. This artifact is deployed to Artifactory and has a property build.number = 1.
- Build A is run again, and again deploys the foo.ext. (It may or may not have changed). This artifact is stored in Artifactory with build.number = 2.
- Another build has a dependency to the artifact foo.ext created by build #1. All the artifacts created by Build A of number 1 should be downloaded.
However, this is not what happens. In my scenario I have 5 artifacts and when I try to download an older build, I only download 2 of them.
Is it possible to have multiple artifacts of the same name and access them by the number of build they were created in? Using generic repository, not Maven or other type.