Methods in jenkins.model that throw RestartNotSupportedException |
void |
Jenkins.doRestart(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Perform a restart of Hudson, if we can. |
org.kohsuke.stapler.HttpResponse |
Jenkins.doSafeRestart(org.kohsuke.stapler.StaplerRequest req)
Queues up a restart of Hudson for when there are no builds running, if we can. |
void |
Jenkins.restart()
Performs a restart. |
void |
Jenkins.safeRestart()
Queues up a restart to be performed once there are no builds currently running. |