diff --git a/PHPCI/Logging/BuildDBLogHandler.php b/PHPCI/Logging/BuildDBLogHandler.php index 3c03c501..782471db 100644 --- a/PHPCI/Logging/BuildDBLogHandler.php +++ b/PHPCI/Logging/BuildDBLogHandler.php @@ -9,7 +9,7 @@ namespace PHPCI\Logging; -use b8\Store; +use b8\Store\Factory; use Monolog\Handler\AbstractProcessingHandler; use PHPCI\Model\Build; @@ -40,5 +40,7 @@ class BuildDBLogHandler extends AbstractProcessingHandler $this->logValue .= $message . PHP_EOL; $this->build->setLog($this->logValue); + + Factory::getStore('Build')->save($this->build); } }