.. _retrying-pipelines: Retry Pipeline Operations ========================== You can retry the pipeline if there are failures in the stages. Before retrying, identify and resolve the issue that caused the failure. .. note:: Do not cancel a running GitLab pipeline or stage. Cancellation prevents some pipeline steps from executing, which leaves the BuildStreaM job in an intermediate, inconsistent state. Note that backend BuildStreaM tasks already in progress will continue running to completion regardless of the cancellation. Prerequisites ------------ Before retrying pipeline operations, ensure the following: * A Job exists with one or more stages in `FAILED` state * The issue that caused the failure has been identified and resolved * Configuration files (PXE mapping and input files) have been corrected if needed Procedure --------- 1. Navigate to **Build** → **Pipelines** and identify the failed pipeline. 2. Identify the stage that failed and review the error logs. 3. Resolve the issue that caused the failure: a. Fix configuration errors if present. b. Resolve network connectivity issues. c. Clear resource constraints if applicable. d. Address any other specific error conditions. 4. To retry the failed pipeline, click the **Retry donwstream pipline** icon on the stage that executes the entire pipeline. .. image:: ../../images/retry-pipeline.png :alt: Retry pipeline button .. note:: This creates a new job and re-executes the entire pipeline from the beginning. It is recommended to retry the entire pipeline rather than individual stage. 5. Verify that the pipeline completes successfully. Verification ------------ 1. Check the GitLab pipeline status to ensure all stages passed. 2. Verify the new Pipeline ID is created for the retry operation. 3. For build pipelines, verify that images were created successfully. 4. For deploy pipelines, verify that nodes were deployed correctly. 5. Compare results with the original failed pipeline to confirm the issue is resolved. Related Topics -------------- * :doc:`../build/executing-build-pipeline` - Execute Build Pipeline * :doc:`../deploy/executing-deploy-pipeline` - Execute Deploy Pipeline * :doc:`../reference/configuration-tables` - Configuration Reference * :doc:`../troubleshooting/common-pipeline-issues` - Troubleshooting Guide