Mark job as error when it's not healthy

This commit is contained in:
Dzmitry Plashchynski
2015-03-10 23:26:58 +02:00
parent a24389f6cc
commit 5a5c29c52a
2 changed files with 10 additions and 0 deletions

View File

@@ -5,4 +5,9 @@
%h2
"#{@job.job_id}" Log:
- if @job.healthy == false
.alert.alert-danger{role: "alert"}
An error occurs during the last execution of this job. Check the log below for details.
%pre= @job.log