forked from lix-project/hydra
hydra-notify: Don't do an unnecessary fetch of Jobsets
This commit is contained in:
parent
e2537f741b
commit
f49a089fc0
|
@ -40,8 +40,8 @@ sub buildFinished {
|
||||||
my ($build, @deps) = @_;
|
my ($build, @deps) = @_;
|
||||||
|
|
||||||
my $project = $build->project;
|
my $project = $build->project;
|
||||||
my $jobset = $build->jobset;
|
my $jobsetName = $build->get_column('jobset');
|
||||||
if (length($project->declfile) && $jobset->name eq ".jobsets" && $build->iscurrent) {
|
if (length($project->declfile) && $jobsetName eq ".jobsets" && $build->iscurrent) {
|
||||||
handleDeclarativeJobsetBuild($db, $project, $build);
|
handleDeclarativeJobsetBuild($db, $project, $build);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue