Merge pull request #891 from grahamc/bug-889

Fixup #717 "Add the project name to declarative inputs"
This commit is contained in:
Graham Christensen 2021-03-16 09:58:53 -04:00 committed by GitHub
commit cab187a19d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -599,7 +599,7 @@ sub checkJobsetWrapped {
updateDeclarativeJobset($db, $project, ".jobsets", $declSpec);
$jobset->discard_changes;
$inputInfo->{"declInput"} = [ $declInput ];
$inputInfo ->{"projectName"} = [ { "value" => $project->name, } ];
$inputInfo->{"projectName"} = [ fetchInput($plugins, $db, $project, $jobset, "", "string", $project->name, 0) ];
}
} else {