Bugfix: Remote GitHub builds fail

This commit is contained in:
Steve Kamerman 2013-05-16 11:57:47 -04:00
parent 645936f309
commit 02632f8799

View file

@ -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);