user2897738
user2897738

Reputation: 393

How to retry pipeline (not individual jobs) in GitLab via the UI?

Basically I am looking for the retry button for the pipeline triggered, but all I see is a retry button for the individuals jobs of that pipeline. I don't want to have to push a commit just to retry a pipeline. Reference screenshot

Upvotes: 21

Views: 34620

Answers (3)

msmosavar
msmosavar

Reputation: 121

If you want to retry pipeline for a specific merge request, try this way: https://stackoverflow.com/a/76146331/17947119

  1. Go to the merge request page.
  2. In the tabs section (next to Overview), Go to the Pipelines tab.
  3. Click on the button Run pipeline.

Upvotes: 2

VonC
VonC

Reputation: 1323753

GitLab 15.1 (June 2022) should help:

Retry a downstream pipeline from the pipeline graph

Previously, to retry a downstream pipeline, you had to navigate to the pipeline and select retry.

This worked, but was a challenging experience when there were multiple downstream pipelines.
You had to go into every individual pipeline you wanted to retry and find the retry option, which was cumbersome.

In this release, we’ve improved the user experience by adding an option to retry downstream pipelines directly from the pipeline graph, without the need to go into each pipeline’s details page.

https://about.gitlab.com/images/15_1/trigger.png -- Retry a downstream pipeline from the pipeline graph

See Documentation and Issue.>

Upvotes: 3

Rekovni
Rekovni

Reputation: 7364

You can retry the latest push on the pipeline by going to:

  • CI/CD -> Pipelines -> Run Pipeline -> Select the branch to run.

Otherwise, as you've mentioned, you'd have to manually press the retry button for each individual job for the pipeline (for a pipeline that isn't the latest).

Upvotes: 36

Related Questions