Class: JenkinsApi::CLI::System
- Inherits:
-
Thor
- Object
- Thor
- JenkinsApi::CLI::System
- Includes:
- Thor::Actions
- Defined in:
- lib/jenkins_api_client/cli/system.rb
Overview
This class provides various command line operations to System class.
Instance Method Summary collapse
-
#cancel_quietdown ⇒ Object
CLI command that cancels Jenkins from Quiet Down mode.
-
#quietdown ⇒ Object
CLI command that puts Jenkins in Quiet Down mode.
-
#reload ⇒ Object
CLI command to reload Jenkins configuration from disk.
-
#restart ⇒ Object
CLI command to (force) restart Jenkins.
Instance Method Details
#cancel_quietdown ⇒ Object
CLI command that cancels Jenkins from Quiet Down mode
41 42 43 44 |
# File 'lib/jenkins_api_client/cli/system.rb', line 41 def cancel_quietdown @client = Helper.setup() @client.system.cancel_quiet_down end |
#quietdown ⇒ Object
CLI command that puts Jenkins in Quiet Down mode
34 35 36 37 |
# File 'lib/jenkins_api_client/cli/system.rb', line 34 def quietdown @client = Helper.setup() @client.system.quiet_down end |