jfrog CLI(command line interface)
1.download before config:
JFROG_CLI_OFFER_CONFIG=false jfrog rt dl --user <your user name> --password <your password> -url http://cn-rd-build04.domain.com:8082/artifactory "file_path.ext"
2.download after config:
JFROG_CLI_OFFER_CONFIG=false jfrog rt dl <your file path>
2.1 config:
2.1.1 show jfrog config:
jfrog config show
2.1.2 add jfrog config:
jfrog config add
fill information:
add a name as server id
add url http://jfrog.domain.com:8082/
leave token blank
enter username
enter password
do not need proxy
3. add jfrog setting to .bashrc
#jfrog settings
export JFROG_CLI_OFFER_CONFIG=false
4. search, get file path, and download with file path:
jfrog rt s '*qt*'
jfrog rt dl <file path>