How can I prevent jenkins from starting new jobs after a restart?

Issue

  • When shutting down and restarting Jenkins was that, every time the Jenkins starts up, it starts running that jobs in the queue.
  • Is there an option or a way to prevent jenkins from starting new jobs after a restart?

Environment

  • CloudBees Jenkins Enterprise 
  • CloudBees Quiet Start plugin

Resolution

Jenkins does persist the build queue, so after a restart the pending builds will get triggered immediately.

You can use CloudBees quiet start plugin to prevent builds to run just after Jenkins has been restarted.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.