<%= project.name %>

<< back

<%= project.build_status %>

<% builds = project.builds current = builds.select { |b| b.commit == project.current_build }.first latest = builds.select { |b| b.commit == project.latest_build }.first %> <% unless current.nil? && latest.nil?%>

Overview

Current : <%= current.commit %>
Latest successful : <%= latest == current ? "current" : latest.commit %>


<% end %>

Build history

<% project.log.each do |line| %><% build = nil; if (build = line[:build]) %><%= ansi_color_codes(line[:line]).chomp %> [<%= build.status %>]
<% else %><%= ansi_color_codes line[:line] %>
<% end %><% end %>