Show buildinput and buildproduct information in the Builds API

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy
2013-11-05 09:42:05 -05:00
parent 1f711403be
commit 385ceaff4d
3 changed files with 34 additions and 5 deletions

View File

@ -603,9 +603,6 @@ makeQueries('ForJob', "and project = ? and jobset = ? and job = ?");
my %hint = (
columns => [
'id',
'finished',
'timestamp',
'starttime',
'stoptime',
'project',
@ -619,7 +616,9 @@ my %hint = (
'releasename'
],
eager_relations => {
buildoutputs => 'name'
buildoutputs => 'name',
buildinputs => 'name'
buildproducts => 'productnr',
}
);