parent
79d34ed7c9
commit
be709d450b
|
@ -608,6 +608,7 @@ makeQueries('', "");
|
||||||
makeQueries('ForProject', "and project = ?");
|
makeQueries('ForProject', "and project = ?");
|
||||||
makeQueries('ForJobset', "and jobset_id = ?");
|
makeQueries('ForJobset', "and jobset_id = ?");
|
||||||
makeQueries('ForJob', "and jobset_id = ? and job = ?");
|
makeQueries('ForJob', "and jobset_id = ? and job = ?");
|
||||||
|
makeQueries('ForJobName', "and jobset_id = (select id from jobsets j where j.name = ?) and job = ?");
|
||||||
|
|
||||||
|
|
||||||
my %hint = (
|
my %hint = (
|
||||||
|
|
|
@ -142,7 +142,7 @@ sub fetchInputSystemBuild {
|
||||||
$projectName ||= $project->name;
|
$projectName ||= $project->name;
|
||||||
$jobsetName ||= $jobset->name;
|
$jobsetName ||= $jobset->name;
|
||||||
|
|
||||||
my @latestBuilds = $db->resultset('LatestSucceededForJob')
|
my @latestBuilds = $db->resultset('LatestSucceededForJobName')
|
||||||
->search({}, {bind => [$jobsetName, $jobName]});
|
->search({}, {bind => [$jobsetName, $jobName]});
|
||||||
|
|
||||||
my @validBuilds = ();
|
my @validBuilds = ();
|
||||||
|
|
Loading…
Reference in a new issue