- finalize(params): Promise<{
builds: {
id: string;
notification: null | {
context: string;
description: string;
github: {
state:
| "pending"
| "error"
| "success"
| "failure";
};
gitlab: {
state:
| "pending"
| "success"
| "running"
| "failed"
| "canceled";
};
};
number: number;
status:
| "accepted"
| "rejected"
| "stable"
| "diffDetected"
| "expired"
| "pending"
| "progress"
| "error"
| "aborted";
url: string;
}[];
}> Returns Promise<{
builds: {
id: string;
notification: null | {
context: string;
description: string;
github: {
state:
| "pending"
| "error"
| "success"
| "failure";
};
gitlab: {
state:
| "pending"
| "success"
| "running"
| "failed"
| "canceled";
};
};
number: number;
status:
| "accepted"
| "rejected"
| "stable"
| "diffDetected"
| "expired"
| "pending"
| "progress"
| "error"
| "aborted";
url: string;
}[];
}>
Finalize pending builds.