public function closeBuild(Build\Build $build)
    {
        $uuid = $build->getUuid();

        $content = json_encode(['closed' => true]);
        $this->sendHttpRequest($this->config->getEndpoint().'/api/v2/builds/'.$uuid, 'PUT', array('content' => $content), array('Content-Type: application/json'));

        return $this->getBuildReport($uuid);
    }