[#247] small refactoring
This commit is contained in:
parent
a657416321
commit
ae40af6a0d
|
@ -21,6 +21,7 @@ module AbfWorker
|
||||||
end
|
end
|
||||||
|
|
||||||
item = find_or_create_item
|
item = find_or_create_item
|
||||||
|
fill_container_data if status != STARTED
|
||||||
|
|
||||||
unless subject.valid?
|
unless subject.valid?
|
||||||
item.update_attributes({status: BuildList::BUILD_ERROR})
|
item.update_attributes({status: BuildList::BUILD_ERROR})
|
||||||
|
@ -29,8 +30,6 @@ module AbfWorker
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
fill_container_data if status != STARTED
|
|
||||||
|
|
||||||
rerunning_tests = subject.rerunning_tests?
|
rerunning_tests = subject.rerunning_tests?
|
||||||
|
|
||||||
case status
|
case status
|
||||||
|
|
Loading…
Reference in New Issue