Revert removing overridden method from build service

This commit is contained in:
Grzegorz Bizon 2019-01-23 12:37:50 +01:00
parent 8bd9f8ccef
commit 2e67da65f1

View file

@ -9,7 +9,7 @@ module Ci
elsif build.action?
build.actionize
else
build.enqueue
enqueue(build)
end
true
@ -21,6 +21,10 @@ module Ci
private
def enqueue(build)
build.enqueue
end
def valid_statuses_for_when(value)
case value
when 'on_success'