-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jenkins 2.277.3
The /safeExit URL is exiting Jenkins even when a job is running.
Steps to Reproduce
- Create the following pipeline job that sleeps
pipeline { agent any stages { stage('Sleep') { steps { sh 'sleep 60' } } } }
- Launch the above job
- POST https://myjenkins.com/safeExit
Expected
Jenkins goes into quiet mode and shuts down once the above job completes
Actual
Jenkins shuts down immediately