Adding rebuild queue option
This commit is contained in:
parent
9ea6f299c1
commit
4b8d25c0f7
2 changed files with 87 additions and 0 deletions
2
console
2
console
|
|
@ -22,6 +22,7 @@ use PHPCI\Command\PollCommand;
|
|||
use PHPCI\Command\CreateAdminCommand;
|
||||
use PHPCI\Command\CreateBuildCommand;
|
||||
use PHPCI\Command\WorkerCommand;
|
||||
use PHPCI\Command\RebuildQueueCommand;
|
||||
use PHPCI\Service\BuildService;
|
||||
use Symfony\Component\Console\Application;
|
||||
use b8\Store\Factory;
|
||||
|
|
@ -38,5 +39,6 @@ $application->add(new PollCommand($loggerConfig->getFor('PollCommand')));
|
|||
$application->add(new CreateAdminCommand(Factory::getStore('User')));
|
||||
$application->add(new CreateBuildCommand(Factory::getStore('Project'), new BuildService(Factory::getStore('Build'))));
|
||||
$application->add(new WorkerCommand($loggerConfig->getFor('WorkerCommand')));
|
||||
$application->add(new RebuildQueueCommand($loggerConfig->getFor('RebuildQueueCommand')));
|
||||
|
||||
$application->run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue