setup-jfrog-cli icon indicating copy to clipboard operation
setup-jfrog-cli copied to clipboard

jf setup is not a jf command

Open mab0189 opened this issue 1 year ago • 2 comments

Describe the bug

The script provided by artifactory to install the jfrog cli integration does not work as expected. The tooltip said that the environment will be setup with the right authentication details. The jfrog cli gets installed but the environment does not get configured.

Current behavior

jf setup is not a command

Reproduction steps

  1. Opened artifactory
  2. Clicked integrations
  3. Clicked jfrog cli configure
  4. Ran the provided command in my terminal
  5. Scipt install jfrog cli but does not setup the authentication
  6. If I try to run jf setup again to double check I get: jf setup is not a jf command

Expected behavior

The environment should be setup with the right authentication details.

Setup JFrog CLI version

2.71.0

JFrog CLI version

2.71.0

Workflow operating system type and version

jf setup

JFrog Artifactory version (if relevant)

7.55.14 rev 75514900

JFrog Xray version (if relevant)

No response

mab0189 avatar Oct 21 '24 07:10 mab0189

Hi @mab0189,

Thank you for reporting this issue! Could you share your workflow file, especially the setup step for setup-jfrog-cli? Any additional details, including the script you mentioned, would also be helpful.

EyalDelarea avatar Nov 17 '24 08:11 EyalDelarea

I'm seeing the same issue. I don't have a workflow file. I installed jfrog-cli through homebrew, version 2.73.2 on MacOS 14.7.2

From Artifactory 7.98.13

Image
❯ jf setup somesecret=
'jf setup' is not a jf command. See --help

❯ jf --version
jf version 2.73.2

isuftin avatar Jan 24 '25 16:01 isuftin