include pipeline ref in subject line
This commit is contained in:
parent
60caeb14a7
commit
9c931c63c9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue