How to download module of a build
fschoenm opened this issue · 0 comments
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?