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