Commit 4a59755b authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Simplify pipeline processing service

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