Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get jfrog-cli-layout from https://releases.jfrog.io/artifactory/jfrog-cli/ #2792

Closed
Vvlad1slavV opened this issue Dec 17, 2024 · 2 comments
Closed
Labels
question Further information is requested

Comments

@Vvlad1slavV
Copy link

Hello,
I want to make a local repository of jfrog-cli. But can't repeat jfrog-cli-layout to be able to download the last release like
https://releases.jfrog.io/artifactory/jfrog-cli/v2-jf/[RELEASE]/jfrog-cli-linux-amd64/jf use [RELEASE] instead version.
Can you share jfrog-cli-layout?

@Vvlad1slavV Vvlad1slavV added the question Further information is requested label Dec 17, 2024
@yahavi
Copy link
Member

yahavi commented Dec 17, 2024

@Vvlad1slavV

The simplest and most convenient option is to use https://releases.jfrog.io/artifactory/jfrog-cli as the URL for a new "jfrog-cli-remote" remote repository. No specific layout is required in this scenario.

If you need the JFrog CLI binary to be in a local repository, you can use the following Artifact Path Pattern:

[orgPath]/[baseRev]/[module]/jf(.[ext])

Please let me know if this solution works for you.

@Vvlad1slavV
Copy link
Author

Thanks a lot!
This option is work.

I tried to follow the documentation https://jfrog.com/help/r/jfrog-rest-apis/retrieve-latest-artifact and the phrase confused me
Both [folderItegRev] and [fileItegRev] have to be defined in the repository layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants