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.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/helpers/ci/jobs_helper.rb b/app/helpers/ci/jobs_helper.rb
index c7f40decae8..c0dca66bac8 100644
--- a/app/helpers/ci/jobs_helper.rb
+++ b/app/helpers/ci/jobs_helper.rb
@@ -19,10 +19,12 @@ module Ci
}
end
- def bridge_data(build)
+ def bridge_data(build, project)
{
- "build_name" => build.name,
- "empty-state-illustration-path" => image_path('illustrations/job-trigger-md.svg')
+ "build_id" => build.id,
+ "empty-state-illustration-path" => image_path('illustrations/job-trigger-md.svg'),
+ "pipeline_iid" => build.pipeline.iid,
+ "project_full_path" => project.full_path
}
end