Allow arbitrary repository URL
This commit is contained in:
parent
a8ad93bb66
commit
7f09e4df07
3 changed files with 15 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue