gitlab-org--gitlab-foss/app/views/notify/pipeline_failed_email.html....

44 lines
601 B
Plaintext
Raw Normal View History

2016-08-31 13:38:02 +00:00
.p
Project:
= @project.path_with_namespace
.p
Branch:
= @pipeline.ref
.p
Commit:
= @pipeline.short_sha
(
= @pipeline.sha
)
.p
Commit Message:
= @pipeline.git_commit_message
.p
Commit Author:
= @pipeline.git_author_name
.p
Pusher:
= @pipeline.user.try(:name)
- failed = @pipeline.statuses.latest.failed
.p
Pipeline #
= @pipeline.id
had
= failed.size
failed
2016-09-13 11:08:12 +00:00
= 'job'.pluralize(failed.size)
2016-08-31 13:38:02 +00:00
- failed.each do |job|
.p
ID:
= job.id
.p
Stage:
= job.stage
.p
Name:
= job.name
.p
Trace:
= job.trace_with_state[:html].html_safe