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 pwdgives error:
The package was not found with the source listed
choco upgrade my.package --version 1.0.0 --source=https://www.myarti.com/artifactory/packages --pre -u u1 -p wrongpwdgives error:
[NuGet] The remote server returned an error: (403) Forbidden
choco upgrade my.package --version 1.0.0 --source=https://www.myarti.com/artifactory/packages --pre -u u2 -p wrongpwdgives error:
Invalid credentials specified