In our environment of several hundred jobs, I sometimes find it difficult to upgrade plugins and restart Jenkins as “something” is always running. Some jobs that are triggered by SCM checkins take 1.5 hours to run. Sometimes a couple of them will be pending waiting for the executing one to finish. When I use Prepare for Shutdown or Prepare for lenient shutdown, it stops ALL newly triggered jobs. But I could let many, many faster jobs through while I wait for the 1.5 hour one to finish.
I would like to selectively start pending jobs during a Prepare for Shutdown mode. Can that be done?