diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-06 14:08:19 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-06 14:08:19 +0200 |
commit | 4491bf28e10da258701b316f397c5802f5f9974e (patch) | |
tree | 39464436dc2ec2cf4f07596c9bd94e090d8471bd /lib/ci/gitlab_ci_yaml_processor.rb | |
parent | 580c4e1841cf4756e86c1ec9eddef56e2bfc9c97 (diff) | |
download | gitlab-ce-4491bf28e10da258701b316f397c5802f5f9974e.tar.gz |
Move CI job config validations to new classes
Diffstat (limited to 'lib/ci/gitlab_ci_yaml_processor.rb')
-rw-r--r-- | lib/ci/gitlab_ci_yaml_processor.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ci/gitlab_ci_yaml_processor.rb b/lib/ci/gitlab_ci_yaml_processor.rb index d226ebc3229..ab77d4df841 100644 --- a/lib/ci/gitlab_ci_yaml_processor.rb +++ b/lib/ci/gitlab_ci_yaml_processor.rb @@ -71,8 +71,6 @@ module Ci @ci_config.jobs.each do |name, param| add_job(name, param) end - - raise ValidationError, "Please define at least one job" if @jobs.none? end def add_job(name, job) |