Fix build_updated
This commit is contained in:
parent
de61efed0f
commit
c826ad4550
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue