Previously we only checked if jobs had been added. We should probably rename the "hasNewBuilds" field in the database.
4JE45C3CCIPHGOZH77RM4OVVQY35GCH5GL5W4K75CDSLDWL7FIGAC
my $hasNewBuilds = 0;
while (my ($id, $x) = each %buildMap) {
$hasNewBuilds = 1 if $x->{new};
}
# Have any builds been added or removed since last time?
my $jobsetChanged =
(scalar(grep { $_->{new} } values(%buildMap)) > 0)
|| (defined $prevEval && $prevEval->jobsetevalmembers->count != scalar(keys %buildMap));