Back to index
Summary
Shut down the CloudBees CD/RO server.forceBooleanoptionalIf true, shutdown is forced -- the server exits without any cleanup. restartBooleanoptionalIf 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 */ )