Beispiel #1
0
 def __build(self, worker, user_args):
     fabric_env['pretty_host_string'] = worker.pretty_name
     with fabric_rcd(worker.build_location):
         #don't make a failed build a reason to abort
         with fabric_settings(warn_only=True):
             command = worker.generateBuildCommand(user_args)
             fabric_run(command)
Beispiel #2
0
 def __build(self, worker, user_args):
   fabric_env['pretty_host_string'] = worker.pretty_name
   with fabric_rcd(worker.build_location):
     #don't make a failed build a reason to abort
     with fabric_settings(warn_only=True):
       command = worker.generateBuildCommand(user_args)
       fabric_run(command)
Beispiel #3
0
  def __setup(self, worker):
    fabric_env['pretty_host_string'] = worker.pretty_name

    #make directory first
    with fabric_settings(warn_only=True):
      command = "mkdir -p " +  worker.build_location
      fabric_run(command)

    #run ccmake / cmake depending on user input
    run_configure = fabric_prompt('Would you like to run ccmake: ', default='y', validate=r'^(y|n)$')
    command = worker.generateSetupCommand(is_interactive=(run_configure=='y'))
    with fabric_rcd(worker.build_location):
      fabric_run(command)
Beispiel #4
0
    def __setup(self, worker):
        fabric_env['pretty_host_string'] = worker.pretty_name

        #make directory first
        with fabric_settings(warn_only=True):
            command = "mkdir -p " + worker.build_location
            fabric_run(command)

        #run ccmake / cmake depending on user input
        run_configure = fabric_prompt('Would you like to run ccmake: ',
                                      default='y',
                                      validate=r'^(y|n)$')
        command = worker.generateSetupCommand(
            is_interactive=(run_configure == 'y'))
        with fabric_rcd(worker.build_location):
            fabric_run(command)
Beispiel #5
0
 def __test(self, worker, user_args):
     fabric_env['pretty_host_string'] = worker.pretty_name
     with fabric_rcd(worker.build_location):
         with fabric_settings(warn_only=True):
             command = worker.generateTestCommand(user_args)
             fabric_run(command)
Beispiel #6
0
 def __test(self, worker, user_args):
   fabric_env['pretty_host_string'] = worker.pretty_name
   with fabric_rcd(worker.build_location):
     with fabric_settings(warn_only=True):
       command = worker.generateTestCommand(user_args)
       fabric_run(command)