1
0
Fork 0

Add missing git fallback function in gitlab driver

pull/4756/head
Jordi Boggiano 2016-01-06 12:32:02 +00:00
parent 72cd6afdfc
commit 64b0d72183
1 changed files with 10 additions and 0 deletions

View File

@ -278,6 +278,16 @@ class GitLabDriver extends VcsDriver
} }
} }
/**
* Generate an SSH URL
*
* @return string
*/
protected function generateSshUrl()
{
return 'git@' . $this->originUrl . ':'.$this->owner.'/'.$this->repository.'.git';
}
protected function setupGitDriver($url) protected function setupGitDriver($url)
{ {
$this->gitDriver = new GitDriver( $this->gitDriver = new GitDriver(