nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Can't cancel outdated pipeline jobs #137

Closed wburgers closed 3 years ago

wburgers commented 6 years ago

Hi,

We are running version 1.7.1-SNAPSHOT of this plugin, which supports pipelines. Pipeline builds are significantly faster in our case. Outdated pipeline jobs are however not aborted when a new job is started. Our queue grows rapidly as we have many PRs.

Can cancellation of outdated jobs get fixed?

If someone can tell me where to look, I will happily create a PR here.

wburgers commented 6 years ago

Since @nemccarthy is not maintaining this repo anymore, I created a groovy script to kill outdated jobs. It can be found here

nemccarthy commented 3 years ago

Please raise an issue here; https://issues.jenkins.io/browse/JENKINS-63802?jql=project%20%3D%20JENKINS%20AND%20component%20%3D%20stash-pullrequest-builder-plugin

Offical repo is here; Please raise PRs here https://github.com/jenkinsci/stash-pullrequest-builder-plugin