AddBuilds: reject declarative jobsets with dynamic runcommand enabled if disabled elsewhere
This commit is contained in:
committed by
Graham Christensen
parent
928ba9e854
commit
a22a8fa62d
@ -617,7 +617,7 @@ sub checkJobsetWrapped {
|
||||
} else {
|
||||
# Update the jobset with the spec's inputs, and the continue
|
||||
# evaluating the .jobsets jobset.
|
||||
updateDeclarativeJobset($db, $project, ".jobsets", $declSpec);
|
||||
updateDeclarativeJobset($config, $db, $project, ".jobsets", $declSpec);
|
||||
$jobset->discard_changes;
|
||||
$inputInfo->{"declInput"} = [ $declInput ];
|
||||
$inputInfo->{"projectName"} = [ fetchInput($plugins, $db, $project, $jobset, "projectName", "string", $project->name, 0) ];
|
||||
|
Reference in New Issue
Block a user