regard a successful build only these with a main_artifact present

This commit is contained in:
Hannes Mehnert 2023-08-25 12:32:42 +02:00 committed by Reynir Björnsson
parent a756f2c814
commit 8a70e76032

View file

@ -333,6 +333,7 @@ module Build = struct
FROM build b
WHERE b.job = $1 AND b.result_code = 0
AND ($2 IS NULL OR b.platform = $2)
AND b.main_binary IS NOT NULL
ORDER BY b.start_d DESC, b.start_ps DESC
LIMIT 1
|}