Commit c826ad45 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix build_updated

parent de61efed
...@@ -242,7 +242,8 @@ module Ci ...@@ -242,7 +242,8 @@ module Ci
def build_updated def build_updated
with_lock do with_lock do
case reload.latest_builds_status reload
case latest_builds_status
when 'pending' then enqueue when 'pending' then enqueue
when 'running' then run when 'running' then run
when 'success' then succeed when 'success' then succeed
......
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