debian-mirror-gitlab/lib/gitlab/ci/config/entry/trigger.rb
2017-08-17 22:00:37 +05:30

18 lines
349 B
Ruby

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents a trigger policy for the job.
#
class Trigger < Node
include Validatable
validations do
validates :config, array_of_strings_or_regexps: true
end
end
end
end
end
end