summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-06-24 17:38:13 +0300
committerValery Sizov <vsv2711@gmail.com>2015-06-24 17:40:45 +0300
commit8164acebd7adfd3cc3e80f9750a4ce88e28399ce (patch)
treeb582a35ca80fd80f3a00816a7aaeb76d4f57c788 /app/models/commit.rb
parentaec639d33b404ed4e1e587ea181cd65af5e5314e (diff)
downloadgitlab-ci-8164acebd7adfd3cc3e80f9750a4ce88e28399ce.tar.gz
warning when .gitlab-ci.yml not found
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 46900ab..215afdd 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -215,7 +215,7 @@ class Commit < ActiveRecord::Base
end
def config_processor
- @config_processor ||= GitlabCiYamlProcessor.new(push_data[:ci_yaml_file])
+ @config_processor ||= GitlabCiYamlProcessor.new(push_data[:ci_yaml_file] || project.generated_yaml_config)
end
def skip_ci?