Bugfix: Remote GitHub builds fail
This commit is contained in:
parent
645936f309
commit
02632f8799
|
@ -65,7 +65,7 @@ abstract class RemoteGitBuild extends Build
|
|||
|
||||
// Use the key file to do an SSH clone:
|
||||
$cmd = 'ssh-agent ssh-add "%s" && git clone -b %s %s "%s" && ssh-agent -k';
|
||||
$success = $builder->executeCommand($cmd, $keyFile, $build->getBranch(), $this->getCloneUrl(), $to);
|
||||
$success = $builder->executeCommand($cmd, $keyFile, $this->getBranch(), $this->getCloneUrl(), $to);
|
||||
|
||||
// Remove the key file:
|
||||
unlink($keyFile);
|
||||
|
|
Loading…
Reference in a new issue