Skip to content

Add job to cancel outdated pipelines in merge requests

Tim Jaacks requested to merge add-job-to-cancel-outdated-pipelines into master

Everytime we push a new commit to a branch, a new pipeline is created. Often the pipeline for the previous commit has not finished yet, and GitLab does not automatically cancel it. It consumes valuable build time, even if we don't need the results anymore. Adding a MR pipeline job to search for previous pipelines on the same branch and cancel them explicitly.

Merge request reports

Loading