shutdownServer

On this page
Back to index

Summary

Shut down the CloudBees CD/RO server.
force
Booleanoptional
If true, shutdown is forced -- the server exits without any cleanup.
restart
Booleanoptional
If true, the server is restarted after shutdown.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.shutdownServer( /* optional arguments */ )