Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69749

Add ability to abort all previous queued builds

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • 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.

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

              Created:
              Updated: