Interview Prep/Jenkins/Architecture, executors & JENKINS_HOME

What is the difference between `/restart`, `/safeRestart`, `/quietDown` and `/safeExit`?

IntermediateConceptArchitecture, executors & JENKINS_HOME
Answer
Endpoint Behaviour
/restart Restarts immediately, interrupting builds (pipelines try to resume)
/safeRestart Stops starting new builds, waits for running ones, then restarts
/quietDown Prepare for shutdown: no new builds start; /cancelQuietDown reverts
/exit and /safeExit Shut down now, or after builds finish

On Kubernetes, prefer safeExit before deleting the controller pod, or rely on graceful termination with a long terminationGracePeriodSeconds.

All Jenkins questions Roadmap: Jenkins

More on Architecture, executors & JENKINS_HOME