Retrieve build history and individual build details for a project
verifyJWT middleware.
totalBuilds from project document if available, otherwise returns the count of builds in the response.createdAt in descending order (newest first).lean() for optimized read-only queriesdockerImage field which is not returned in the list endpointstartedAt is set when build processing beginsfinishedAt is set when build completes (success or failure)POST /api/redeploy/:projectIdlogUrl fieldbackend/src/controllers/slices/Project/Buildscontroller.js:4backend/src/controllers/slices/Project/Buildscontroller.js:32backend/src/models/slices/build.model.js:3