Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 52ff066b71a1df2f565e46e4f67e4ec8cc5eac3e https://github.com/jenkinsci/jenkins/commit/52ff066b71a1df2f565e46e4f67e4ec8cc5eac3e Author: Alon Bar-Lev <alon.bar...@gmail.com> Date: 2018-01-05 (Fri, 05 Jan 2018)
Changed paths: A core/src/main/java/hudson/lifecycle/ExitLifecycle.java Log Message: ----------- [JENKINS-47043] Introduce exit lifecycle to exit instead of restart If hudson.lifecycle.ExitLifecycle is selected, jenkins will exit when restart is requested. Exit code is taken out of jenkins.model.Jenkins.exitCodeOnRestart, default is 5. This is usable when there is an external watchdog such as SystemD. SystemD service example: ExecStart=@/usr/bin/java jenkins $JAVA_OPTIONS -DJENKINS_HOME=${JENKINS_HOME} -Dhudson.lifecycle=hudson.lifecycle.ExitLifecycle -Djenkins.model.Jenkins.exitCodeOnRestart=55 -jar $JENKINS_WAR --debug=${JENKINS_DEBUG_LEVEL} --httpPort=${JENKINS_PORT} --httpListenAddress=${JENKINS_LISTEN_ADDRESS} $JENKINS_ARGS Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> Commit: 51817306f74e4f5966a1a056e8c607528aa97435 https://github.com/jenkinsci/jenkins/commit/51817306f74e4f5966a1a056e8c607528aa97435 Author: Oleg Nenashev <o.v.nenas...@gmail.com> Date: 2018-01-13 (Sat, 13 Jan 2018) Changed paths: A core/src/main/java/hudson/lifecycle/ExitLifecycle.java Log Message: ----------- Merge pull request #3036 from alonbl/exit-on-restart [JENKINS-47043] Introduce exit lifecycle to exit instead of restart Compare: https://github.com/jenkinsci/jenkins/compare/3a99c2c6fd08...51817306f74e -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.