Method: Integrity::Project#finish_building
- Defined in:
- lib/integrity/project.rb
#finish_building(commit_id, status, output) ⇒ Object
46 47 48 49 50 51 |
# File 'lib/integrity/project.rb', line 46 def finish_building(commit_id, status, output) @build.update_attributes( :successful => status, :output => output, :completed_at => Time.now) if @build enabled_notifiers.each { |notifier| notifier.notify_of_build(@build) } end |