forked from lix-project/hydra
hydra-evaluator: Respect triggers of disabled jobsets
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
b8ea428bb1
commit
adb9ad83dd
|
@ -263,7 +263,7 @@ sub checkJobset {
|
||||||
sub checkSomeJobset {
|
sub checkSomeJobset {
|
||||||
# If any jobset has been triggered by a push, check it.
|
# If any jobset has been triggered by a push, check it.
|
||||||
my ($jobset) = $db->resultset('Jobsets')->search(
|
my ($jobset) = $db->resultset('Jobsets')->search(
|
||||||
{ 'project.enabled' => 1, 'me.enabled' => 1, 'triggertime' => { '!=', undef },
|
{ 'triggertime' => { '!=', undef },
|
||||||
, -or => [ 'lastcheckedtime' => undef, 'lastcheckedtime' => { '<', time() - $minCheckInterval } ] },
|
, -or => [ 'lastcheckedtime' => undef, 'lastcheckedtime' => { '<', time() - $minCheckInterval } ] },
|
||||||
{ join => 'project', order_by => [ 'triggertime' ], rows => 1 });
|
{ join => 'project', order_by => [ 'triggertime' ], rows => 1 });
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue