Hello,
I am testing a new build solution using “conan build” and “Sonatype Nexus Repository, Community Edition version 3.85” on Windows 11.
I followed the steps from Nexus Help using the following commands:
-
Create a conan-hosted repository in Nexus named “conan-hosted” with default settings
-
Declare the remote conan-hosted repository:
dev@win11> conan remote add conan-hosted http://localhost:8081/repository/conan-hosted --insecure -
Add authentification for remote:
dev@win11> conan remote auth … -
Check cots exists in conan cache:
dev@win11> conan list boost
… existing … -
Try to upload to remote repository:
dev@win11> conan upload boost/1.86.0 -r conan-hosted
=> fatal: not a git repository (or any of the parent directories: .git
=> ERR: retrieving root repository
Please help with interpreting this error,
Thanks