Class: Job::Test
- Defined in:
- lib/travis/model/job/test.rb,
lib/travis/model/job/test/states.rb
Defined Under Namespace
Modules: States
Constant Summary
Constants included from Cleanup
Class Method Summary collapse
Instance Method Summary collapse
Methods included from States
Methods included from Tagging
Methods inherited from Job
Methods included from Cleanup
#enqueue, #force_finish, #requeueable?
Class Method Details
.append_log!(id, chars) ⇒ Object
8 9 10 11 |
# File 'lib/travis/model/job/test.rb', line 8 def append_log!(id, chars) job = find(id, :select => [:id, :repository_id, :owner_id, :owner_type, :state]) job.append_log!(chars) unless job.finished? end |