private function setBuildSummary($summary)
    {
        $build = $this->pluginFactory->getResourceFor('PHPCI\Model\Build');
        $this->store->setMeta($build->getProjectId(), $build->getId(), 'plugin-summary', json_encode($summary));
    }