Add feature flag to schedulable? method
This commit is contained in:
parent
e0cfa9279c
commit
f76f6df193
1 changed files with 2 additions and 1 deletions
|
@ -260,6 +260,7 @@ module Ci
|
|||
end
|
||||
|
||||
def schedulable?
|
||||
Feature.enabled?('ci_enable_scheduled_build') &&
|
||||
self.when == 'delayed' && options[:start_in].present?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue