public function process($slot)
    {
        $tasks = $this->getTasksForSlot($slot);
        while ($tasks->valid()) {
            $task = $tasks->current();
            $this->log->info('Processing task: '.$task->getName());
            try {
                $task->process($this);
            } catch (Exception $e) {
                var_dump($e);
            }

            /*
             * The Post-Process continues on failure

            if ($slot != Slot::POST_PROCESS) {
                if ($this->getStatus() != BuildInterface::PASSED) {
                    $tasks->rewind();
                    break;
                }
            }
            */
            $tasks->next();
        }
        $tasks->rewind();
    }