Class: Gitlab::Ci::Pipeline::Chain::TemplateUsage

Inherits:
Base
  • Object
show all
Defined in:
lib/gitlab/ci/pipeline/chain/template_usage.rb

Instance Attribute Summary

Attributes inherited from Base

#command, #config, #pipeline

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Pipeline::Chain::Base

Instance Method Details

#break?Boolean

Returns:

  • (Boolean)

14
15
16
# File 'lib/gitlab/ci/pipeline/chain/template_usage.rb', line 14

def break?
  false
end

#perform!Object


8
9
10
11
12
# File 'lib/gitlab/ci/pipeline/chain/template_usage.rb', line 8

def perform!
  included_templates.each do |template|
    track_event(template)
  end
end