shutdownServer

On this page
Back to index

Summary

Shut down the CloudBees CD/RO server.
request
Stringrequired
This parameter and the value displayed are required; request=shutdownServer must appear in your query string.
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( request: "test-request" /* optional arguments */ )