Start a couple long-running pipelines with
Queue up a few more jobs. Go to "manage jenkins" and "prepare for shutdown."
Now pipeline jobs that would finish and unenqueue never finish and have to manually be killed (which does work). Freestyle jobs complete normally. Queued jobs aren't run, so that part of prepare-for-shutdown works.
Those pipeline builds won't show up in the build queue on the main screen.
Checks to do:
- Regression in core?
- Regression in pipeline?
- does /safeRestart or /restart trigger it?