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

How to download module of a build #2614

Open
fschoenm opened this issue Jul 24, 2024 · 1 comment
Open

How to download module of a build #2614

fschoenm opened this issue Jul 24, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@fschoenm
Copy link

We have published build infos to our Artifactory and split up our builds into modules. I want to download a specific module from a specific build but don't find the correct CLI arguments. How can I do that?

$ jf rt dl --build=BUILDNAME/BUILDNUMBER
This downloads everything belonging to the build which I don't want.

$ jf rt dl --build=BUILDNAME/BUILDNUMBER --module=Release
This complains that --build-name and --build-number options are mandatory when the module option is provided (not sure why because build name and number are part of the --build option.

$ jf rt dl --build=BUILDNAME/BUILDNUMBER --build-name=BUILDNAME --build-number=BUILDNUMBER --module=Release
This doesn't seem to make too much sense because I specify everything twice but it also downloads everything and not only the specified module.

$ jf rt dl --build-name=BUILDNAME --build-number=BUILDNUMBER --module=Release
This complains that I use the wrong number of arguments. Apparently there's missing one but I don't know which?

$ jf rt dl --build-name=BUILDNAME --build-number=BUILDNUMBER --module=Release '*'
I tried to specify a source pattern but this doesn't seem to do anything. It just says "Working..." the whole time.

I'm out of ideas what else to try. Isn't downloading a module from a build a supported use case? Then what even is the purpose of the --module option in the download command?

@fschoenm fschoenm added the question Further information is requested label Jul 24, 2024
@RobiNino
Copy link
Contributor

RobiNino commented Feb 3, 2025

Hi @fschoenm,
Unfortunately downloading by module is not supported at the moment.
The --module option is for collecting build info for the artifacts which are downloaded by the command. We'll try improving the documentation to make that clearer.
Sorry for the inconvenience caused by this.

@RobiNino RobiNino added feature request New feature or request and removed question Further information is requested labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants