Set build status to 1 if the primary build failed

This commit is contained in:
Eelco Dolstra 2013-05-10 00:51:45 +02:00
parent 102359bf44
commit 3939974df8

View file

@ -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; }
}