forked from lix-project/hydra
Set build status to 1 if the primary build failed
This commit is contained in:
parent
102359bf44
commit
3939974df8
|
@ -260,8 +260,8 @@ sub doBuild {
|
|||
$stopTime = time();
|
||||
|
||||
if ($res != 0) {
|
||||
if ($thisBuildFailed && $res == 100 << 8) { $buildStatus = 1; }
|
||||
elsif (!$thisBuildFailed && $someBuildFailed) { $buildStatus = 2; }
|
||||
if ($thisBuildFailed) { $buildStatus = 1; }
|
||||
elsif ($someBuildFailed) { $buildStatus = 2; }
|
||||
else { $buildStatus = 3; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue