Skip to content

Add the ability to retry all jobs in a failed/canceled pipeline

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

Current behavior of the Retry button in the pipeline details page is to retry only failed and canceled jobs. There are cases where we want to retry also passed jobs, for example because artifacts expired and we want to create them again. Even if there are no code changes, the results of the pipeline could be different because of external changes (variables, remote dependencies, etc...).

Proposal

Add an option to retry the entire pipeline (by retrying also passed jobs, or by creating a new pipeline for the same ref). It could be done turning the Retry button in a "dropdown button" with this option as the secondary one.

Design

Retry failed jobs as the default action and Retry entire pipeline inside the dropdown.

Edited by 🤖 GitLab Bot 🤖