You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug jfrog rt config was deprecated in favor of jfrog config add; however, jfrog config add does not replace jfrog rt config competely.
To Reproduce
Using the same credentials, the two configuration options yield different results:
$ jfrog rt config --url="${ARTIFACTORY_URL}" --user="${ARTIFACTORY_USER}" --password="${ARTIFACTORY_PASSWORD}" Default-Server
[Warn] The "jfrog rt config" command is deprecated. Please use "jfrog config" command instead. You can use it as follows:
The command includes the following sub-commands - "jfrog config add", "jfrog config edit", "jfrog config show", "jfrog config remove", "jfrog config import" and "jfrog config export".
Important: When switching to the new command, please replace "--url" with "--artifactory-url".
For example:
Old syntax: "jfrog rt config <server-id> --url=<artifactoryUrl>"
New syntax: "jfrog config add <server-id> --artifactory-url=<artifactory-url>"
$ jfrog config add --artifactory-url="${ARTIFACTORY_URL}" --user="${ARTIFACTORY_USER}" --password="${ARTIFACTORY_PASSWORD}" Default-Server
[Error] The following error was received while trying to encrypt your password: Artifactory response: 401 Unauthorized
Expected behavior jfrog config add should have the same outcome as jfrog rt config given the same inputs.
Additional context
The user in this scenario appears to be restricted from traditional login, but was setup for use in our CI environments for the purpose of publishing artifacts to artifactory. The user was capable of publishing artifacts using the old artifactory bitbucket pipes and can utilize jfrog rt config but cannot utilize jfrog config.
The text was updated successfully, but these errors were encountered:
We now have it working. Our artifactory team had been mucking around with the accounts, and I can no longer reproduce the issue myself either. ¯\_(ツ)_/¯
Describe the bug
jfrog rt config
was deprecated in favor ofjfrog config add
; however,jfrog config add
does not replacejfrog rt config
competely.To Reproduce
Using the same credentials, the two configuration options yield different results:
Expected behavior
jfrog config add
should have the same outcome asjfrog rt config
given the same inputs.Versions
Additional context
The user in this scenario appears to be restricted from traditional login, but was setup for use in our CI environments for the purpose of publishing artifacts to artifactory. The user was capable of publishing artifacts using the old artifactory bitbucket pipes and can utilize
jfrog rt config
but cannot utilizejfrog config
.The text was updated successfully, but these errors were encountered: