diff options
Diffstat (limited to 'app/mailers/emails/pipelines.rb')
-rw-r--r-- | app/mailers/emails/pipelines.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb index 9aae39fa220..941ba2643ab 100644 --- a/app/mailers/emails/pipelines.rb +++ b/app/mailers/emails/pipelines.rb @@ -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 |