updateDeclarativeJobset: only set the emailresponsible column when defined (#788)
[?]
Jul 8, 2020, 11:08 PM
K4TJNA56OCPGPRYYG7LI6MUC5VSSFJ6FZ47VVMRSVK5HCF5RWF4QCDependencies
- [2]
6WRGCITDEnable declarative projects. - [3]
BOGEJ3H2Additional helpful information in error messages. - [4]
CUFVKLLARemove Hydra::Helper::nix::txn_do from the Perl code - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate
Change contents
- replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 55
my $input = $jobset->jobsetinputs->create({ name => $name,type => $data->{type},emailresponsible => $data->{emailresponsible}});my $row = {name => $name,type => $data->{type}};$row->{emailresponsible} = $data->{emailresponsible} if defined $data->{emailresponsible};my $input = $jobset->jobsetinputs->create($row);