-
Notifications
You must be signed in to change notification settings - Fork 27
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
"conan art:build-info upload" is using wrong file path and fails #119
Comments
hi @AndreyGranovsky, thanks for the report. Indeed, virtual and remote repositories in Artifactory work a bit different and they are not so tested from our side. Have you tried the local Artifactory repository to create the build info instead of the virtual one? Thanks |
Hi @danimtb, During the "conan art:build-info create" a local repository was passed under the parameter, as the artifacts were uploaded to this repository. However, when running "conan art:build-info create" the command searches under the path of the Virtual repository not the local, and fails. |
Hi @AndreyGranovsky, Thanks for reporting. I have been checking this and apparently it works fine for me as long as I pass the local repository to the This is what I did:
Could you please check? |
When using the "conan art:build-info upload", according to the documentation, we should provide the repository where the packages were uploaded in Artifactory (which is not the same one as the Conan remote name, which is a virtual repository).
Once we run the "conan art:build-info upload" command, it fails due to the package not being found as it is not stored in the virtual repository location (please note that adding properties is supported only for local and local-cache repositories). This occurs because, during the build upload process, it attempts to use the path of the virtual repository rather than the local repository where the packages were initially uploaded. For example:
The text was updated successfully, but these errors were encountered: