Beispiel #1
0
 /**
  * Saves the run attempt.
  *
  * @param Run $run
  */
 private function saveRun(Run $run)
 {
     $this->jobModel->last_ran = time();
     $this->jobModel->last_run_succeeded = $run->succeeded();
     $this->jobModel->last_run_output = $run->getOutput();
     $this->jobModel->save();
 }