finalize( params: FinalizeParameters,): 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" | "no-changes" | "changes-detected" | "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"
| "no-changes"
| "changes-detected"
| "expired"
| "pending"
| "progress"
| "error"
| "aborted";
url: string;
}[];
},
>
Finalize pending builds.