Skip to content

Commit bf1cbbb

Browse files
committed
Only cached truly failed builds, no exceptions, cancelations...
Signed-off-by: magic_rb <[email protected]>
1 parent 3ac54ba commit bf1cbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildbot_nix/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def run(self) -> Generator[Any, Any, None]:
556556
if (
557557
self.build.reason == "rebuild"
558558
or not self.failed_builds_db.check_build(job.drvPath)
559-
):
559+
) and result == util.FAILURE:
560560
url = yield self.build.getUrl()
561561
self.failed_builds_db.add_build(
562562
job.drvPath, datetime.now(tz=UTC), url

0 commit comments

Comments
 (0)