Add ability to abort all previous queued builds

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: workflow-job-plugin
    • None

      Hi,

      https://github.com/jenkinsci/workflow-job-plugin/pull/200 added the ability to abort previous running thanks to the 
      `abortPrevious` option. However, sometimes you only want to abort queued builds which isn't a functionality exposed by the plugin.

      It would be easy to add an `abortPreviousQueued` option with the same implementation as `abortPrevious` replacing the call to `isBuilding` by `hasntStartedYet` there.

            Assignee:
            Unassigned
            Reporter:
            Leo Benito
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: