Commit 49af84c2 authored by Shinya Maeda's avatar Shinya Maeda Committed by Alessio Caiazza

enqueue in process_build_service

parent 4dd70b9e
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment