diff --git a/src/api/process-manager.ts b/src/api/process-manager.ts index 461f5a509..65c287107 100644 --- a/src/api/process-manager.ts +++ b/src/api/process-manager.ts @@ -387,6 +387,7 @@ export function restartBuild(buildId: number): Promise { build.build_id = buildId; delete build.repositories_id; delete build.jobs; + delete build.pr; insertBuildRun(build); }) .then(() => getLastRunId(build.id))