MCPcopy Create free account
hub / github.com/Krish120003/zercel / getServerBuildStatus

Function getServerBuildStatus

apps/web/src/server/lib/serverBuild.ts:314–324  ·  view source on GitHub ↗
(jobName: string)

Source from the content-addressed store, hash-verified

312 * @returns The job status response
313 */
314export async function getServerBuildStatus(jobName: string) {
315 try {
316 // Get the job status
317 const [job] = await batchClient.getJob({ name: jobName });
318
319 return job;
320 } catch (error) {
321 console.error("Error fetching job status:", error);
322 throw error;
323 }
324}
325
326/**
327 * Gets the logs for a GCP Batch job

Callers 1

sites.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected