Class: SlaveStarter
- Inherits:
-
Object
- Object
- SlaveStarter
- Includes:
- AppletHelper, GitHelper, ProvisioningHelper
- Defined in:
- lib/nixenvironment/jenkins/slave/slave_starter.rb
Instance Method Summary collapse
Methods included from ProvisioningHelper
#copy_jenkins_provisioning_profiles, #move_provisioning_profiles_to_backup, #remove_local_provisioning_profiles, #restore_backup_provisioning_profiles
Methods included from Paths
#path_to_backup, #path_to_environment, #path_to_provisioning_updater, #root_jenkins_path
Methods included from GitHelper
#clone_environment, #clone_provisioning_updater, #remove_local_environment, #remove_local_provisioning_updater, #set_git_hook
Methods included from AppletHelper
#should_start_slave, #start_master, #start_slave, #stop_applets
Instance Method Details
#start ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/nixenvironment/jenkins/slave/slave_starter.rb', line 11 def start raise NotInitialized unless should_start_slave # Git hook_thread = set_git_hook do # remove_local_provisioning_profiles # copy_jenkins_provisioning_profiles end # Applet start_slave hook_thread.join true end |
#stop ⇒ Object
28 29 30 31 32 |
# File 'lib/nixenvironment/jenkins/slave/slave_starter.rb', line 28 def stop stop_applets true end |