chore(review-callback): generalize the event project name
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
98b5d1ed27
commit
8dd3d67735
1 changed files with 1 additions and 1 deletions
|
@ -701,7 +701,7 @@ def gerritReviewCB(builderName, build, result, master, arg):
|
||||||
if result == util.RETRY:
|
if result == util.RETRY:
|
||||||
return dict()
|
return dict()
|
||||||
|
|
||||||
if builderName != 'lix/nix-eval':
|
if builderName != f'{build["properties"].get("event.project")}/nix-eval':
|
||||||
return dict()
|
return dict()
|
||||||
|
|
||||||
failed = build['properties'].get('failed_builds', [[]])[0]
|
failed = build['properties'].get('failed_builds', [[]])[0]
|
||||||
|
|
Loading…
Reference in a new issue