Skip to content
Snippets Groups Projects
Commit 580c4e18 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Move decision about relevant jobs to new CI config

parent b1b0c18b
No related branches found
No related tags found
1 merge request!5087Move CI job config entries from legacy to new config
Pipeline #
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment