Hopefully fixing the clone issues for Pull Requests

This commit is contained in:
Dan Cryer 2014-05-12 16:28:48 +01:00
parent 079ebc5275
commit 4806d1a783
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@ class WebhookController extends \PHPCI\Controller
if (!is_null($extra)) {
$build->setExtra(json_encode($extra));
}
$build = BuildFactory::getBuild($this->buildStore->save($build));
// Send a status postback if the build type provides one:

View file

@ -128,7 +128,7 @@ class GithubBuild extends RemoteGitBuild
$remoteUrl = $this->getExtra('remote_url');
$remoteBranch = $this->getExtra('remote_branch');
$cmd = 'cd "%s" && git checkout -b phpci/' . $this->getId() . ' %s && git pull %s %s';
$cmd = 'cd "%s" && git checkout -b phpci/' . $this->getId() . ' %s && git pull -q --no-edit %s %s';
$success = $builder->executeCommand($cmd, $cloneTo, $this->getBranch(), $remoteUrl, $remoteBranch);
}
} catch (\Exception $ex) {