I am trying to search for all files that are in my repo on Artifactory. I have Go installed, and am using Jfrog to query the search using:
jfrog rt s https://URL/artifactory/generic-sgca/
Which returns:
[Info] Searching artifacts...
[Info] Found 0 artifacts.
[]
Why is it not returning all folders in this repo? I believe my config is setup correctly too.
You are not supposed to be specifying the
https://url/artifactorywhen using search function in the CLI.you can check the CLI's search help using
jfrog rt s -hand you'll see that the usage is:where search pattern should:
The URL is actually a command option
--url=http://myurl:myport/artifactorywhich you can leave out if you usejfrog rt configto set the Artifactory server details before you run the search command.You can read more and find some snippet example here