Add ability to abort all previous queued builds

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: