-
Improvement
-
Resolution: Unresolved
-
Minor
-
2.32.1 on Ubuntu
Recently, core was updated to require confirmation when a running job is attempted to be cancelled or removed from the queue. JENKINS-30565
I would like this to be controlled by a permission. Something along the lines of "requires cancel confirmation". The default value would be to require the confirmation which follows the existing behavior.
In our environment, we would not require the administrative group to get this confirmation dialog.
Use Case: Several jobs spawned automatically which need to be aborted rapidly. Not all jobs in the queue fall in this category at the time so purging the entire queue (which we have a scriptler to handle) is not appropriate.
- is duplicated by
-
JENKINS-45592 Ability to disable the prompt when deleting queued build
-
- Resolved
-
I do realize I'm taking the "my baby isn't ugly" position, but let me try being objective anyway
Admins can always set Jenkins into quiet down mode for a minute to clean up from the queue, so this seems unnecessary.
Not useful for this to require a permission. It's not about allowing (or not) to do something after all.
The only useful approach I could think of would be to let users opt out of this protection from accidental clicks via an option on their user record (like case-insensitive search) – i.e. opting into getting yelled at for accidentally aborting a 20 hour build 18 hours in --, but I'd like to see a lot more demand for this before considering adding yet another checkbox.