protected function runMergeAction($options)
    {
        if (array_key_exists('branch', $options)) {
            $cmd = 'cd "%s" && git checkout %s && git merge "%s"';
            $path = $this->phpci->buildPath;
            return $this->phpci->executeCommand($cmd, $path, $options['branch'], $this->build->getBranch());
        }
    }
protected function runMergeAction($options)
    {
        if (array_key_exists('branch', $options)) {
            $cmd = 'cd "%s" && git checkout %s && git merge "%s"';
            $path = $this->phpci->buildPath;
            return $this->phpci->executeCommand($cmd, $path, $options['branch'], $this->build->getBranch());
        }
    }
protected function runMergeAction ( $ options ) { if ( array_key_exists ( 'branch' , $ options ) ) { $ cmd = 'cd "%s" && git checkout %s && git merge "%s"' ; $ path = $ this -> phpci -> buildPath ; return $ this -> phpci -> executeCommand ( $ cmd , $ path , $ options [ 'branch' ] , $ this -> build -> getBranch ( ) ) ; } }
Handle a merge action.
@param $options
@return bool
Handle a merge action .