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
returnnil, errors.New("platform URL is mandatory for lifecycle commands")
I'm seeing this error message although I already provided --server-id which should theoretically provide this parameter as part of the general configuration profile.
I'm not sure what I'm doing wrong.
The full command is:
./jf release-bundle-promote test-bundle3 1.3.2 QA --signing-key release-signing-key --include-repos 'docker-qa-local;ai-qa-local'
12:48:31 [Info] Trace ID for JFrog Platform logs: e4e67fcbaec061f2
12:48:31 [Error] platform URL is mandatory for lifecycle commands
The login command is: jf config add --user my_user --password my_password --artifactory-url https://company.internal.url/artifactory
The text was updated successfully, but these errors were encountered:
@yarons
Thank you for using the JFrog CLI.
The JFrog platform contains multiple services URLs. In the config command you specifically added only the Artifactory URL, which cause the other URLs, such as the basic platform URL to be blank.
To solve this issue, use the --url flag instead of platform URL and remove the /artifactory suffix:
I added all the URLs to the config and now it works.
For some reason I though that providing one will try to generate the others accordingly (using the parameter from --url as a baseline).
jfrog-cli/lifecycle/cli.go
Line 421 in f962a88
I'm seeing this error message although I already provided
--server-id
which should theoretically provide this parameter as part of the general configuration profile.I'm not sure what I'm doing wrong.
The full command is:
The login command is:
jf config add --user my_user --password my_password --artifactory-url https://company.internal.url/artifactory
The text was updated successfully, but these errors were encountered: