DeclarativeJobsets: get the jobset name from the jobset table

This commit is contained in:
Graham Christensen 2022-01-09 10:13:48 -05:00
parent b2cdde0901
commit 17c6bd4fd8

View file

@ -9,7 +9,7 @@ sub buildFinished {
my ($self, $build, $dependents) = @_;
my $project = $build->project;
my $jobsetName = $build->get_column('jobset');
my $jobsetName = $build->jobset->get_column('name');
if (length($project->declfile) && $jobsetName eq ".jobsets" && $build->iscurrent) {
handleDeclarativeJobsetBuild($self->{"db"}, $project, $build);
}