From 17c6bd4fd80a9cc808f93fa369d10c7786cc1e02 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sun, 9 Jan 2022 10:13:48 -0500 Subject: [PATCH] DeclarativeJobsets: get the jobset name from the jobset table --- src/lib/Hydra/Plugin/DeclarativeJobsets.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Plugin/DeclarativeJobsets.pm b/src/lib/Hydra/Plugin/DeclarativeJobsets.pm index f59fa858..2713a5da 100644 --- a/src/lib/Hydra/Plugin/DeclarativeJobsets.pm +++ b/src/lib/Hydra/Plugin/DeclarativeJobsets.pm @@ -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); }