Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Packages
    • Packages
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issues
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #35533

Closed (moved)
Open
Opened Jul 25, 2017 by Fabio Busatto@bikebilly0 of 3 tasks completed0/3 tasks
  • Report abuse
  • New issue
Report abuse New issue

Add a "Cancel Running Pipelines" in the Pipelines page

Description

We might often need to cancel pipelines running on a specific project because they're created by many commits, but we actually want only the last pipeline to actually run.

Proposal

Add a "Cancel" button in Pipelines > Pipelines page to stop running pipelines, similar to what we've in the Jobs page.

It could be interesting to have multiple options for this button:

  • cancel all running pipelines
  • cancel all pipelines but the latest for each branch
  • cancel all pipelines owned by me (not sure what happens if someone else retries a job in my pipeline)

We could consider having a dropdown-button (the same we already have for choosing between comment and discussion, or in the MR widget) to choose between different behaviors.

Links / references

#34665 (closed)

Use cases

Release Post: we've a lot of pipelines on release-X-Y branch, but actually we just need one to complete from time to time in order to update the review app. Cancelling pipelines on that branch only (but the latest) doesn't impact on all other tasks unrelated to the release post.

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

  • Feature assurance
  • Documentation
  • Added to features.yml

Linked issues

  • Discussion
  • Designs
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#35533