Roll Back Application Version Promotion CLI
Description: Rolls back the latest promotion of the specified application version to its previous stage. This action removes the promotion record, but the audit log will retain a history of the rollback. The behavior of the rollback on the artifacts in the application version depends on the original promotion type:
- Copy promotion: Artifacts in the current stage's repositories are deleted.
- Move promotion: Artifacts are removed from the current stage's repositories and restored to the previous stage's repositories from a secure internal repository.
Note
Rollback can be performed from the PROD stage, if needed.
Command:
jfrog app version-rollback <app-key> <version> <from-stage>
Alias command: jf at vrb
Command Parameters
Argument | Required/Optional | Type | Description |
|---|---|---|---|
| required | string | The application key of the application version to roll back. |
| required | string | The version number of the version to be rolled back. |
| required | string | The name of the stage from which to roll back the application version. |
Sample command:
jf apptrust version-rollback myapp-001 1.1.2 --from-stage="QA"Updated about 2 months ago
