Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/ci/jobs_helper.rb')
-rw-r--r--app/helpers/ci/jobs_helper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/helpers/ci/jobs_helper.rb b/app/helpers/ci/jobs_helper.rb
index c3af2de16e1..37b008611e6 100644
--- a/app/helpers/ci/jobs_helper.rb
+++ b/app/helpers/ci/jobs_helper.rb
@@ -4,14 +4,15 @@ module Ci
module JobsHelper
def jobs_data(project, build)
{
- "endpoint" => project_job_path(project, build, format: :json),
+ "job_endpoint" => project_job_path(project, build, format: :json),
+ "log_endpoint" => trace_project_job_path(project, build, format: :json),
+ "test_report_summary_url" => test_report_summary_project_job_path(project, build, format: :json),
"page_path" => project_job_path(project, build),
"project_path" => project.full_path,
"artifact_help_url" => help_page_path('user/gitlab_com/index.md', anchor: 'gitlab-cicd'),
"deployment_help_url" => help_page_path('user/project/clusters/deploy_to_cluster.md', anchor: 'troubleshooting'),
"runner_settings_url" => project_runners_path(build.project, anchor: 'js-runners-settings'),
"retry_outdated_job_docs_url" => help_page_path('ci/pipelines/settings', anchor: 'retry-outdated-jobs'),
- "test_report_summary_url" => test_report_summary_project_job_path(project, build, format: :json),
"pipeline_test_report_url" => test_report_project_pipeline_path(project, build.pipeline)
}
end