forked from lix-project/hydra
When checking if build is already built, check for potential 'failed with result'. Fixes issue #7.
This commit is contained in:
parent
854513be8e
commit
437e59c4a8
|
@ -887,7 +887,7 @@ sub checkBuild {
|
||||||
%extraFlags =
|
%extraFlags =
|
||||||
( finished => 1
|
( finished => 1
|
||||||
, iscachedbuild => 1
|
, iscachedbuild => 1
|
||||||
, buildstatus => 0
|
, buildstatus => -f "$outPath/nix-support/failed" ? 6 : 0
|
||||||
, starttime => $time
|
, starttime => $time
|
||||||
, stoptime => $time
|
, stoptime => $time
|
||||||
, logfile => getBuildLog($drvPath)
|
, logfile => getBuildLog($drvPath)
|
||||||
|
|
Loading…
Reference in a new issue