getServerStatus

On this page
Back to index

Summary

Retrieves the current status of the CloudBees CD/RO server, including log messages generated during the startup sequence.
block
Booleanoptional
True means wait until the server reaches a new state.
diagnostics
Booleanoptional
True to include server diagnostics.
serverStateOnly
Booleanoptional
The response includes only the serverState element.
timeout
Integeroptional
How many seconds before the blocking command times out.

Usage

Groovy

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