Adding support for beanstalkd-based workers.

This commit is contained in:
Dan Cryer 2015-10-05 12:13:22 +01:00
commit 3cbf9a1343
9 changed files with 699 additions and 351 deletions

View file

@ -364,10 +364,6 @@ class WebhookController extends \b8\Controller
// If not, create a new build job for it:
$build = $this->buildService->createBuild($project, $commitId, $branch, $committer, $commitMessage, $extra);
$build = BuildFactory::getBuild($build);
// Send a status postback if the build type provides one:
$build->sendStatusPostback();
return array('status' => 'ok', 'buildID' => $build->getID());
}