BigW Consortium Gitlab

trigger.rb 349 Bytes
Newer Older
1 2 3
module Gitlab
  module Ci
    class Config
4
      module Entry
5
        ##
6
        # Entry that represents a trigger policy for the job.
7
        #
8
        class Trigger < Node
9 10 11
          include Validatable

          validations do
12
            validates :config, array_of_strings_or_regexps: true
13 14 15 16 17 18
          end
        end
      end
    end
  end
end