Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing artifacts in "BuildInfo" when uploading binary identical artifacts with different path #1418

Open
Or-Geva opened this issue Jan 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Or-Geva
Copy link
Contributor

Or-Geva commented Jan 31, 2022

Describe the bug
When uploading two binary identical artifacts with a different path and the same artifact name, the BuildInfo object will include only one of the artifacts.

To Reproduce

jfrog rt upload artifact.txt generic-snapshot/ --build-name=test --build-number=200 
jfrog rt upload folderA/artifact.txt generic-snapshot/ --build-name=test --build-number=200
jfrog rt bp test 200 

Results:

    "modules": [{
       "properties": {},
       "type": "generic",
       "id": "test",
       "artifacts": [{
           "type": "txt",
           "sha1": "602aba74d093e7893e87c4ba4295021937087bc4",
           "sha256": "0d35eff369a74254d4f09daab428a3f1d3425d06c2e6206050882ee54ad618f1",
           "md5": "d6218d5bde32f907bc8ca5224d50f402",
           "name": "artifact.txt",
           "path": "generic-snapshot/folderA/artifact.txt"
       }]
   }]

The artifact is located under the root folder "artifact.txt" is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant