CatalystUtils: rename $b to $builds (perlcritic)
This commit is contained in:
parent
4aa6a7b6ee
commit
1cda08351f
|
@ -109,14 +109,14 @@ sub searchBuildsAndEvalsForJobset {
|
||||||
{ columns => ['id', 'job', 'finished', 'buildstatus'] }
|
{ columns => ['id', 'job', 'finished', 'buildstatus'] }
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach my $b (@allBuilds) {
|
foreach my $build (@allBuilds) {
|
||||||
my $jobName = $b->get_column('job');
|
my $jobName = $build->get_column('job');
|
||||||
|
|
||||||
$evals->{$eval->id}->{timestamp} = $eval->timestamp;
|
$evals->{$eval->id}->{timestamp} = $eval->timestamp;
|
||||||
$evals->{$eval->id}->{builds}->{$jobName} = {
|
$evals->{$eval->id}->{builds}->{$jobName} = {
|
||||||
id => $b->id,
|
id => $build->id,
|
||||||
finished => $b->finished,
|
finished => $build->finished,
|
||||||
buildstatus => $b->buildstatus
|
buildstatus => $build->buildstatus
|
||||||
};
|
};
|
||||||
$builds{$jobName} = 1;
|
$builds{$jobName} = 1;
|
||||||
$nrBuilds++;
|
$nrBuilds++;
|
||||||
|
|
Loading…
Reference in a new issue