if not wait then (
(* Just check the task was created. *)
if not (Pcre.pmatch ~rex:created_task out) then (
- eprintf "%s\n%!" out;
failwith "fedpkg build: build failed to start"
)
) else (
else if completed_successfully out then
()
else if failed out then (
- eprintf "%s\n%!" out;
failwith "koji build failed"
)
else