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

<app-key>

required

string

The application key of the application version to roll back.

<version>

required

string

The version number of the version to be rolled back.

<from-stage>

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"