I am trying to install package using Chocolatey, and I am stuck at getting the package from artifactory.
I confirmed that my.package.1.0.0.nupkg is available in the URL: https://www.myarti.com/artifactory/packages
The artifactory requires 'access' For example below, username "u1" with correct password "pwd" has access, but "u2" doesn't have access to repo
I tried below choco commands, but no luck yet. You help would be much appreciated!
- choco upgrade my.package --version 1.0.0 --source=https://www.myarti.com/artifactory/packages --pre -u u1 -p pwd
gives The package was not found with the source listed error
- choco upgrade my.package --version 1.0.0 --source=https://www.myarti.com/artifactory/packages --pre -u u1 -p wrongpwd
gives [NuGet] The remote server returned an error: (403) Forbidden error
- choco upgrade my.package --version 1.0.0 --source=https://www.myarti.com/artifactory/packages --pre -u u2 -p wrongpwd
gives Invalid credentials specified error