Commit cd9409f0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Simplify pipeline processing service

parent 6d8a490f
......@@ -16,10 +16,6 @@ module Ci
raise NotImplementedError
end
def artifacts?
raise NotImplementedError
end
def when
raise NotImplementedError
end
......
......@@ -9,7 +9,7 @@ module Ci
elsif build.action?
build.actionize
else
enqueue(build)
build.enqueue
end
true
......@@ -21,10 +21,6 @@ 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