handleDeclarativeJobsetBuild: handle errors from readNixFile
[?]
Mar 4, 2020, 3:32 AM
L54KA7IMVLHLHUED7I2K5AGSDR3EHFLMR7H332TCOTZFPV72AUWQCDependencies
- [2]
CHI2EHBJdeclarative projects: Pull jobset spec build from the remote store - [3]
HEZQ273Simprove the error messages when invalid declarative jobsets are defined - [4]
6WRGCITDEnable declarative projects. - [5]
BOGEJ3H2Additional helpful information in error messages. - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 71
my $declText = readNixFile($declPath)or die "Couldn't read declarative specification file $declPath: $!";my $declText = eval {readNixFile($declPath)};if ($@) {print STDERR "ERROR: failed to readNixFile $declPath: ", $@, "\n";die;}