Add --export-only flag to jf rbe command#1234
Add --export-only flag to jf rbe command#1234JFrog-MengKe wants to merge 1 commit intojfrog:masterfrom
Conversation
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
This comment was marked as duplicate.
This comment was marked as duplicate.
recheck |
Trigger release bundle export without waiting for completion or download. Used by jf release-bundle-export --export-only. Made-with: Cursor

Add --export-only flag to jf rbe command
Summary
This PR adds a new
--export-onlyflag to thejf rbe(release-bundle-export) command, allowing users to trigger the export process without waiting for the download to complete.Problem
Currently, the
jf rbecommand always waits for the export process to complete and then downloads the bundle file. In some scenarios, users may want to:Solution
--export-onlyboolean flag to therbecommand--export-onlyis set totrue, the command only triggers the export process and returns immediately--export-onlyisfalse(default), the command maintains the existing behavior (export + download)ExportReleaseBundleOnlymethod in the lifecycle serviceChanges Made
jfrog-client-go
ExportReleaseBundleOnlymethod that triggers export without waitingjfrog-cli-artifactory
ExportOnlyflag definition and command flags mappingexportOnlyfield toReleaseBundleExportCommandstructRun()method to conditionally call export-only or full export+downloadSetExportOnly()method--export-onlyflag valueUsage Examples
Testing
--export-onlyflagBackward Compatibility
This change is fully backward compatible. The default behavior remains unchanged, and the new flag is optional.
Related Issues
Fixes the requirement to add export-only functionality to release bundle export command.
Sign CLA
I have read the CLA Document and I hereby sign the CLA
recheck