summaryrefslogtreecommitdiff
path: root/app/helpers/builds_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/builds_helper.rb')
-rw-r--r--app/helpers/builds_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/builds_helper.rb b/app/helpers/builds_helper.rb
index ff937b5ebd2..5ac3e66bb1f 100644
--- a/app/helpers/builds_helper.rb
+++ b/app/helpers/builds_helper.rb
@@ -15,4 +15,11 @@ module BuildsHelper
log_state: @build.trace_with_state[:state].to_s
}
end
+
+ def build_failed_issue_options
+ {
+ title: "Build Failed ##{@build.id}",
+ description: namespace_project_build_url(@project.namespace, @project, @build)
+ }
+ end
end