#891: update comments
This commit is contained in:
parent
8f40a25b95
commit
a1455b5afb
|
@ -82,12 +82,12 @@ class ProductBuildList < ActiveRecord::Base
|
||||||
transition [:build_canceling, :build_started] => :build_canceled
|
transition [:build_canceling, :build_started] => :build_canceled
|
||||||
end
|
end
|
||||||
|
|
||||||
# :build_canceling => :build_completed - Worker hasn't time to cancel building because build had been already finished
|
# :build_canceling => :build_completed - Worker hasn't time to cancel building because build had been already completed
|
||||||
event :build_success do
|
event :build_success do
|
||||||
transition [:build_started, :build_canceling] => :build_completed
|
transition [:build_started, :build_canceling] => :build_completed
|
||||||
end
|
end
|
||||||
|
|
||||||
# :build_canceling => :build_failed - Worker hasn't time to cancel building because build had been already finished
|
# :build_canceling => :build_failed - Worker hasn't time to cancel building because build had been already failed
|
||||||
event :build_error do
|
event :build_error do
|
||||||
transition [:build_started, :build_canceling] => :build_failed
|
transition [:build_started, :build_canceling] => :build_failed
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue