Fix marking jobs as successful if they never finish evaluating.
This commit is contained in:
parent
d394f35f55
commit
2eaee8f62b
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue