HTTP/Jobset: support setting / reading enable_dynamic_run_command

This commit is contained in:
Graham Christensen
2021-12-15 12:37:35 -05:00
parent 1802bd0113
commit 726ea80e99
5 changed files with 16 additions and 0 deletions

View File

@ -268,6 +268,7 @@ sub updateJobset {
, nixexprinput => $nixExprInput
, enabled => $enabled
, enableemail => defined $c->stash->{params}->{enableemail} ? 1 : 0
, enable_dynamic_run_command => defined $c->stash->{params}->{enable_dynamic_run_command} ? 1 : 0
, emailoverride => trim($c->stash->{params}->{emailoverride}) || ""
, hidden => defined $c->stash->{params}->{visible} ? 0 : 1
, keepnr => int(trim($c->stash->{params}->{keepnr} // "0"))