forked from lix-project/hydra
hydra-eval-jobset: emit a useful error if constituents errored
This commit is contained in:
parent
0c51de6334
commit
074a2f96bf
|
@ -799,7 +799,13 @@ sub checkJobsetWrapped {
|
|||
|
||||
foreach my $job (values %{$jobs}) {
|
||||
next unless $job->{constituents};
|
||||
my $x = $drvPathToId{$job->{drvPath}} or die;
|
||||
|
||||
if (defined $job->{error}) {
|
||||
die "aggregate job ‘$job->{jobName}’ failed with the error: $job->{error}";
|
||||
}
|
||||
|
||||
my $x = $drvPathToId{$job->{drvPath}} or
|
||||
die "aggregate job ‘$job->{jobName}’ has no corresponding build record.\n";
|
||||
foreach my $drvPath (@{$job->{constituents}}) {
|
||||
my $constituent = $drvPathToId{$drvPath};
|
||||
if (defined $constituent) {
|
||||
|
|
Loading…
Reference in a new issue