forked from lix-project/hydra
Merge pull request #891 from grahamc/bug-889
Fixup #717 "Add the project name to declarative inputs"
This commit is contained in:
commit
cab187a19d
|
@ -599,7 +599,7 @@ sub checkJobsetWrapped {
|
||||||
updateDeclarativeJobset($db, $project, ".jobsets", $declSpec);
|
updateDeclarativeJobset($db, $project, ".jobsets", $declSpec);
|
||||||
$jobset->discard_changes;
|
$jobset->discard_changes;
|
||||||
$inputInfo->{"declInput"} = [ $declInput ];
|
$inputInfo->{"declInput"} = [ $declInput ];
|
||||||
$inputInfo ->{"projectName"} = [ { "value" => $project->name, } ];
|
$inputInfo->{"projectName"} = [ fetchInput($plugins, $db, $project, $jobset, "", "string", $project->name, 0) ];
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue