summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-24 18:32:23 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-09-12 11:19:06 +0200
commitaecc6600bdbe472d5b8e67d275d049ed384c9a31 (patch)
treec24a1698d3994b38d6496c84c5717ab5cce3ea64
parent5d3f7b133fba9bba876da5ef13c630320a920e3f (diff)
downloadgitlab-ce-aecc6600bdbe472d5b8e67d275d049ed384c9a31.tar.gz
Fixed the URL + renamed to Job Failed
-rw-r--r--app/helpers/builds_helper.rb2
-rw-r--r--app/serializers/build_details_entity.rb4
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..1e90bef0778 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: project_job_url(project, build) }
end
def current_user