Hi,
#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.
Originally reported by trayzen, imported from: Add ability to abort all previous queued builds
- status: Open
- priority: Major
- component(s): workflow-job-plugin
- resolution: Unresolved
- votes: 1
- watchers: 2
- imported: 20251212-090250
Raw content of original issue
Hi,
#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.
Hi,
#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.
Originally reported by trayzen, imported from: Add ability to abort all previous queued builds
Raw content of original issue