Allow arbitrary repository URL

This commit is contained in:
Sanpi 2013-06-19 17:47:25 +02:00
commit 7f09e4df07
3 changed files with 15 additions and 3 deletions

View file

@ -19,12 +19,15 @@ use Symfony\Component\Yaml\Parser as YamlParser;
* @package PHPCI
* @subpackage Core
*/
abstract class RemoteGitBuild extends Build
class RemoteGitBuild extends Build
{
/**
* Get the URL to be used to clone this remote repository.
*/
abstract protected function getCloneUrl();
protected function getCloneUrl()
{
return $this->getProject()->getReference();
}
/**
* Create a working copy by cloning, copying, or similar.