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

Add ability to cancel previously queued and running jobs when a PR is updated #83

Closed mandrizzle closed 8 years ago

mandrizzle commented 8 years ago

When a pr is updated or if you are using /merge in the ref spec and your destination branch gets updated a new build starts running and there is really no reason to keep the previously queued items or running jobs going.

This change gives the option to abort running builds and remove queued builds for a updated pr. This saves resources and time when things are updated quickly. Addresses request from issue #70

nickbroon commented 8 years ago

:+1:

nickbroon commented 8 years ago

@nemccarthy can this be merged?

mandrizzle commented 8 years ago

If it helps, I have been using it for months now with a bunch of other people on my team and it has been working without any issues

nemccarthy commented 8 years ago

Released in 1.7.0

nemccarthy commented 8 years ago

Thanks for the pr!!!