From 317573ebd15fca64074151f90c45df6209d68443 Mon Sep 17 00:00:00 2001 From: husbando_enjoyer Date: Tue, 16 Dec 2025 09:10:19 +0100 Subject: [PATCH] Fetch builds from Jenkins API --- backend/app/services/builds.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/services/builds.py b/backend/app/services/builds.py index e63d7e6..a829dba 100644 --- a/backend/app/services/builds.py +++ b/backend/app/services/builds.py @@ -61,8 +61,7 @@ def fetch_builds(limit: int = 5) -> List[Dict]: def build_history() -> Dict: """Return Jenkins build history data.""" - history = _load_json("build_history.json") - builds = history.get("builds", []) + builds = fetch_builds() return { "builds": [normalize_build(b) for b in builds] }