From cb1ca94f86739311d06f3f53e3971872fa3ac709 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 18 Apr 2026 17:29:50 -0300 Subject: [PATCH] ci(jenkins): escape coverage regex in inline python --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 129b15a..0cfe8a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -95,7 +95,7 @@ from pathlib import Path log_path = Path("build/quality-gate.out") text = log_path.read_text(encoding="utf-8", errors="ignore") if log_path.exists() else "" -values = [float(match.group(1)) for match in re.finditer(r"([0-9]+(?:\.[0-9]+)?)%", text)] +values = [float(match.group(1)) for match in re.finditer(r"([0-9]+(?:\\.[0-9]+)?)%", text)] print(values[-1] if values else 0.0) PY )"