jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

JFrog CLI command for promotion do not have option to configure target repository and also do not prompt when tried to overwrite the target repository

Open ujwalpoovaiah opened this issue 1 year ago • 1 comments

Performing promotion for example release bundle v2. jf rbp --signing-key=<key-pair-name> <release-bundle-name> <release-bundle-version> <environment>

1.No option to select the target repository, default behaviour seems to just select all repositories of the appropriate protocol.

2.There is no option to chose whether existing artifacts in the target repository should be overwritten or not - it appears default behaviour is to overwrite artifacts.

ujwalpoovaiah avatar Feb 23 '24 15:02 ujwalpoovaiah

Hi @ujwalpoovaiah , Support for target repositories inclusion/exclusion was introduced in #2425 and is available since JFrog CLI 2.53.1.

The same commit also removed the overwrite option, which has been decommissioned as of Artifactory 7.75.0 (both from UI and API). The motivation for removal of this property is that it breaks the updated concept of the Lifecycle Dashboard (a Release Bundle version cannot be considered promoted, if it's consistency may be impacted by another promotion).

Please upgrade JFrog CLI and let me know if everything works as expected. Thanks

RobiNino avatar Feb 26 '24 07:02 RobiNino