/** * Sets the summary data of the current build. * * @param array summary */ private function setBuildSummary($summary) { $build = $this->pluginFactory->getResourceFor('PHPCI\\Model\\Build'); $this->store->setMeta($build->getProjectId(), $build->getId(), 'plugin-summary', json_encode($summary)); }