Approve/Reject Steps

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

After a step moves to Pending Approval state, the approvers can approve or reject the step using the user interface.

To approve or reject a step:

  1. Go to Applications | My Pipelines and run the relevant pipeline.

    This displays Pipeline Run page.

  2. Click the Approval step (called approvalGatesStep in the example yaml above). This step will be in Pending status.

  3. Click the Approve/Reject button to reveal the following options:

    • Approve/Reject button: Click to approve or reject the step.

    • Comments field: This optional field enables you to add a meaningful comment for approving or rejecting the step. This has a 100 characters limit.

    • Approvers list: This lists the first letter of Artifactory usernames for users who were listed as approvers in the pipelines yaml. Hovering over a letter shows the full Artifactory username.

approvalGates2_06july22.gif

Approving the step moves it from Pending Approval status to Waiting status. The step then gets picked up for execution by the next available execution node.

Rejecting the step moves it from Pending Approval status to Cancelled status.

Note

  • When a step is rejected, the subsequent steps are skipped resulting in the run being canceled.

  • When a step that is awaiting approval/rejection is canceled, that step and the subsequent steps are canceled resulting in the run being canceled.

  • If a step is not approved/rejected in the stipulated amount of time, it times out and the run is canceled.