protected function runPullAction($options)
    {
        $branch = $this->build->getBranch();
        $remote = 'origin';

        if (array_key_exists('branch', $options)) {
            $branch = $this->phpci->interpolate($options['branch']);
        }

        if (array_key_exists('remote', $options)) {
            $remote = $this->phpci->interpolate($options['remote']);
        }

        return $this->phpci->executeCommand('git pull %s %s', $remote, $branch);
    }
protected function runPullAction($options)
    {
        $branch = $this->build->getBranch();
        $remote = 'origin';

        if (array_key_exists('branch', $options)) {
            $branch = $this->phpci->interpolate($options['branch']);
        }

        if (array_key_exists('remote', $options)) {
            $remote = $this->phpci->interpolate($options['remote']);
        }

        return $this->phpci->executeCommand('git pull %s %s', $remote, $branch);
    }
protected function runPullAction ( $ options ) { $ branch = $ this -> build -> getBranch ( ) ; $ remote = 'origin' ; if ( array_key_exists ( 'branch' , $ options ) ) { $ branch = $ this -> phpci -> interpolate ( $ options [ 'branch' ] ) ; } if ( array_key_exists ( 'remote' , $ options ) ) { $ remote = $ this -> phpci -> interpolate ( $ options [ 'remote' ] ) ; } return $ this -> phpci -> executeCommand ( 'git pull %s %s' , $ remote , $ branch ) ; }
Handle a pull action.
@param $options
@return bool
Handle a pull action .