Method: MasterStarter#start_pu

Defined in:
lib/nixenvironment/jenkins/master/master_starter.rb

#start_pu(on_production = true) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
# File 'lib/nixenvironment/jenkins/master/master_starter.rb', line 45

def start_pu(on_production = true)
  fork do
    Dir.chdir(path_to_provisioning_updater) do
      if on_production
        `./run -e production -p 3000`
      else
        `./run`
      end
    end
  end
end