ci(ananke): keep quality metrics and retention aligned
This commit is contained in:
parent
7b67ee288b
commit
263e3e75fd
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -41,6 +41,7 @@ spec:
|
|||||||
|
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120'))
|
||||||
}
|
}
|
||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ class _GatewayHandler(http.server.BaseHTTPRequestHandler):
|
|||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write(body)
|
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"))
|
size = int(self.headers.get("Content-Length", "0"))
|
||||||
body = self.rfile.read(size).decode("utf-8")
|
body = self.rfile.read(size).decode("utf-8")
|
||||||
self.posts.append((self.path, body))
|
self.posts.append((self.path, body))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user