lib/travis/cli/monitor.rb in travis-1.6.3.travis.376.4 vs lib/travis/cli/monitor.rb in travis-1.6.3.travis.377.4
- old
+ new
@@ -81,10 +81,15 @@
say [
color(formatter.time(time), entity.color),
color(entity.inspect_info, [entity.color, :bold]),
color(entity.state, entity.color)
].join(" ")
- notification.notify(entity.repository.slug, "#{entity.class.name[/[^:]+$/]} ##{entity.number} #{entity.state}")
+ notification.notify(entity.repository.slug, [
+ entity.class.name[/[^:]+$/],
+ entity.number,
+ entity.state + ":",
+ entity.commit.subject
+ ].join(" "))
end
def handle_event(event)
entity = event.job || event.build
time = entity.finished_at || entity.started_at