Commit 9c931c63 authored by Mike Greiling's avatar Mike Greiling

include pipeline ref in subject line

parent 60caeb14
......@@ -34,10 +34,10 @@ module Emails
end
def pipeline_subject(status)
ref = @pipeline.short_sha
ref << " in #{@merge_request.to_reference}" if @merge_request
commit = @pipeline.short_sha
commit << " in #{@merge_request.to_reference}" if @merge_request
subject("Pipeline ##{@pipeline.id} has #{status}", ref)
subject("Pipeline ##{@pipeline.id} has #{status} for #{@pipeline.ref}", commit)
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment