Files
gitlabhq/lib/gitlab/ci/config/node/script.rb
T
Grzegorz Bizon d399128955 Handle after script CI config in new classes
This also makes Script to return an array of commands instead of
concatented command, which is our current direction.
2016-06-21 13:02:14 +02:00

23 lines
372 B
Ruby

module Gitlab
module Ci
class Config
module Node
##
# Entry that represents a script.
#
class Script < Entry
include Validatable
validations do
validates :config, array_of_strings: true
end
def value
@config
end
end
end
end
end
end