regard a successful build only these with a main_artifact present
This commit is contained in:
parent
a756f2c814
commit
8a70e76032
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ module Build = struct
|
||||||
FROM build b
|
FROM build b
|
||||||
WHERE b.job = $1 AND b.result_code = 0
|
WHERE b.job = $1 AND b.result_code = 0
|
||||||
AND ($2 IS NULL OR b.platform = $2)
|
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
|
ORDER BY b.start_d DESC, b.start_ps DESC
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
|}
|
|}
|
||||||
|
|
Loading…
Reference in a new issue