Revert removing overridden method from build service
This commit is contained in:
parent
8bd9f8ccef
commit
2e67da65f1
1 changed files with 5 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue