Commit 0d5afdb7 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add pipeline logger class name to logged payload

parent ac06692e
......@@ -47,6 +47,7 @@ module Gitlab
return unless log?
attributes = {
class: self.class.name.to_s,
pipeline_creation_caller: caller,
project_id: project.id,
pipeline_id: pipeline.id,
......
......@@ -71,6 +71,7 @@ RSpec.describe ::Gitlab::Ci::Pipeline::Logger do
let(:loggable_data) do
{
'class' => described_class.name.to_s,
'pipeline_id' => pipeline.id,
'pipeline_persisted' => true,
'project_id' => project.id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment