diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-09-13 10:28:58 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-09-13 10:28:58 +0300 |
commit | 12accbf796ba2de01359a9eb21aabfa6cc3dde6a (patch) | |
tree | 9d2539737954c9463b127a65c7f39cd067c0964b /app | |
parent | b097d065c5e8d2e4115a4ad6361f61cbbac78a9e (diff) | |
parent | d63aebb7ec18617c097f52a4cfc8ffd3300489d1 (diff) |
Merge branch '36907-new-issue-from-failed-build-no-longer-links-to-failed-build' into 'master'
Resolve "New issue from failed build no longer links to failed build"
Closes #36907
See merge request !13790
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/builds_helper.rb | 2 | ||||
-rw-r--r-- | app/serializers/build_details_entity.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb index 85bc784d53c..aa3a9a055a0 100644 --- a/app/helpers/builds_helper.rb +++ b/app/helpers/builds_helper.rb @@ -30,7 +30,7 @@ module BuildsHelper def build_failed_issue_options { - title: "Build Failed ##{@build.id}", + title: "Job Failed ##{@build.id}", description: project_job_url(@project, @build) } end diff --git a/app/serializers/build_details_entity.rb b/app/serializers/build_details_entity.rb index 743a08acefe..8c89eea607f 100644 --- a/app/serializers/build_details_entity.rb +++ b/app/serializers/build_details_entity.rb @@ -32,8 +32,8 @@ class BuildDetailsEntity < JobEntity private def build_failed_issue_options - { title: "Build Failed ##{build.id}", - description: project_job_path(project, build) } + { title: "Job Failed ##{build.id}", + description: "Job [##{build.id}](#{project_job_path(project, build)}) failed for #{build.sha}:\n" } end def current_user |