From 2eaee8f62b3b6d53cc6f062e2e4d4514e2dc6b82 Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Mon, 18 Mar 2024 00:07:34 +0000 Subject: [PATCH] Fix marking jobs as successful if they never finish evaluating. --- buildbot_nix/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 3e26e6f..9a5a6f7 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -718,7 +718,7 @@ def gerritReviewCB(builderName, build, result, master, arg): failed = build['properties'].get('failed_builds', [[]])[0] labels = { - 'Verified': -1 if failed else 1, + 'Verified': -1 if result != util.SUCCESS else 1, } message = "Buildbot finished compiling your patchset!\n"