From 263e3e75fd0d3cc6b5268fda74a89774e0b55b32 Mon Sep 17 00:00:00 2001 From: codex Date: Tue, 21 Apr 2026 06:43:23 -0300 Subject: [PATCH] ci(ananke): keep quality metrics and retention aligned --- Jenkinsfile | 1 + scripts/publish_quality_metrics_test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3041cae..7e5e3cf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,6 +41,7 @@ spec: options { disableConcurrentBuilds() + buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120')) } triggers { diff --git a/scripts/publish_quality_metrics_test.py b/scripts/publish_quality_metrics_test.py index 23277ca..27e5e2b 100755 --- a/scripts/publish_quality_metrics_test.py +++ b/scripts/publish_quality_metrics_test.py @@ -32,7 +32,7 @@ class _GatewayHandler(http.server.BaseHTTPRequestHandler): self.end_headers() self.wfile.write(body) - def do_POST(self) -> None: # noqa: N802 + def do_PUT(self) -> None: # noqa: N802 size = int(self.headers.get("Content-Length", "0")) body = self.rfile.read(size).decode("utf-8") self.posts.append((self.path, body))