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