jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-66706] Add support for canceling pending builds on update

Open
#701 0 comments 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

GitLab plugin supports canceling pending builds on merge request update. This saves time in projects where builds can stay long time in a build queue and you care only about the status of the newest commit.

 

Can it be added to the GitLab Branch Source Plugin? 

Including the trigger directly in a pipeline doesn't work.

triggers {

  gitlab(
cancelPendingBuildsOnUpdate: true
)
}

 

 

---
Originally reported by mh_cardlay, imported from: Add support for canceling pending builds on update


  • assignee: baymac
  • status: Open
  • priority: Minor
  • component(s): gitlab-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-182730

Raw content of original issue

GitLab plugin supports canceling pending builds on merge request update. This saves time in projects where builds can stay long time in a build queue and you care only about the status of the newest commit.

 

Can it be added to the GitLab Branch Source Plugin? 
Including the trigger directly in a pipeline doesn't work.



triggers {

  gitlab(
cancelPendingBuildsOnUpdate: true
)
}


 

 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.