shutdownServer

Back to index

Summary

Shut down the CloudBees CD/RO server.

Shutting down the server can take as long as a couple of minutes, depending on the server activity level at the time the shutdown command is issued.

The CloudBees CD/RO server is composed of two processes. The main process is a Java Virtual Machine (JVM). The second process, called the "wrapper", is responsible for interacting with the native operating system as a service. This wrapper process is responsible for starting and stopping the main JVM process.

force
Booleanoptional
If true, shutdown is forced -- the server exits without any cleanup.
restart
Booleanoptional
If true, the server is restarted after shutdown.

Usage

Perl

$cmdr->shutdownServer( # optionals );

ectool

ectool shutdownServer \ # optionals

Examples

Perl

$cmdr->shutdownServer({restart => 1});

ectool

ectool shutdownServer --restart 1