* Renaming "release sets" to "views" (not finished yet). Having
releases as a dynamic view on the database was misguided, since doing thing like adding a new job to a release set will invalidate all old releases. So we rename release sets to views, and we'll reintroduce releases as separate, static entities in the database.
This commit is contained in:
@ -239,12 +239,10 @@ sub getRelease {
|
||||
$thisBuild = findLastJobForPrimaryBuild($primaryBuild, $job) ;
|
||||
}
|
||||
|
||||
if ($job->mayfail != 1) {
|
||||
if (!defined $thisBuild) {
|
||||
$status = 2 if $status == 0; # = unfinished
|
||||
} elsif ($thisBuild->get_column('buildstatus') != 0) {
|
||||
$status = 1; # = failed
|
||||
}
|
||||
if (!defined $thisBuild) {
|
||||
$status = 2 if $status == 0; # = unfinished
|
||||
} elsif ($thisBuild->get_column('buildstatus') != 0) {
|
||||
$status = 1; # = failed
|
||||
}
|
||||
|
||||
$timestamp = $thisBuild->timestamp
|
||||
|
Reference in New Issue
Block a user