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 · 0 comments
Open

How to download module of a build #2614

fschoenm opened this issue Jul 24, 2024 · 0 comments
Labels
question Further information is requested

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
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

1 participant