src/Rocketeer/Services/Tasks/TasksQueue.php
protected function runSynchronously(Pipeline $pipeline)
    {
        $results = [];

        /** @var Closure $task */
        foreach ($pipeline as $key => $task) {
            $results[$key] = $this->bash->checkResults($task());
            if (!$results[$key]) {
                break;
            }
        }

        // Update Pipeline results
        $pipeline->setResults($results);

        return $pipeline;
    }
protected function runSynchronously(Pipeline $pipeline)
    {
        $results = [];

        /** @var Closure $task */
        foreach ($pipeline as $key => $task) {
            $results[$key] = $this->bash->checkResults($task());
            if (!$results[$key]) {
                break;
            }
        }

        // Update Pipeline results
        $pipeline->setResults($results);

        return $pipeline;
    }
protected function runSynchronously ( Pipeline $ pipeline ) { $ results = [ ] ; /** @var Closure $task */ foreach ( $ pipeline as $ key => $ task ) { $ results [ $ key ] = $ this -> bash -> checkResults ( $ task ( ) ) ; if ( ! $ results [ $ key ] ) { break ; } } // Update Pipeline results $ pipeline -> setResults ( $ results ) ; return $ pipeline ; }
Run the pipeline in order.
As long as the previous entry didn't fail, continue.

@param Pipeline $pipeline

@return Pipeline
Run the pipeline in order . As long as the previous entry didn t fail continue .