Commit 580c4e18 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Move decision about relevant jobs to new CI config

parent b1b0c18b
......@@ -76,8 +76,6 @@ module Ci
end
def add_job(name, job)
return if name.to_s.start_with?('.')
raise ValidationError, "Unknown parameter: #{name}" unless job.is_a?(Hash) && job.has_key?(:script)
stage = job[:stage] || job[:type] || DEFAULT_STAGE
......
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